On 5/2/2014 9:10 AM, Ulf Zibis wrote:
Am 01.05.2014 02:20, schrieb Joe Darcy:
Hello,
I'm reminded of Professor Knuth's observation that "Premature
optimization is the root of all evil."
If from an API perspective the new code is preferable, I would say
that should take precedence over an at most marginal performance
degradation.
I guess you meant: ... marginal performance _gain_.
No, I actually meant degradation.
If the new API is easier to use, captures more type information, etc.,
in my estimation that is more important than a whisker thin performance
penalty in an area that is not performance critical.
-Joe