Covariant overrides on the Buffer Hierachy
Ulf.Zibis at CoSoCo.de
Mon May 5 10:03:00 UTC 2014
Am 02.05.2014 18:13, schrieb Joe Darcy:
> On 5/2/2014 9:10 AM, Ulf Zibis wrote:
>> Am 01.05.2014 02:20, schrieb Joe Darcy:
>>> 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.
Ok I see, I have stumbled over the semantical grammar of your sentence. English is not my mother
tongue. You set the benefit and the disadvantage of 1 approach in concurrence.
I have read the concurrence of 2 possible benefits of the 2 possible approaches:
- better API
- better performance
More information about the core-libs-dev