5 ms·
Abstract things are harder to optimize than concrete things. A package for a concrete problem can be more optimized than a generic/abstract package. I don't me
by egonelbre 12y ago
Abstract things are harder to optimize than concrete things. A package for a concrete problem can be more optimized than a generic/abstract package.
I don't mean that the manually specialized version is faster than automatically specialized template. Rather that this encourages to not write abstract data-types, but rather concrete types that solve a real world problem - editor.Buffer vs. gap.Buffer. Once you have a real world problem it can optimized much better for that use case.