Progress of patches
Ulf Zibis
Ulf.Zibis at gmx.de
Thu Mar 11 20:19:33 UTC 2010
Am 11.03.2010 20:56, schrieb Martin Buchholz:
>
>> Why isn't this true for isSupplementaryCodePoint() too ?
>> Particularly there the "cheap" compare against 0 can't be benefited.
>>
> Because almost all code points are actually BMP,
> the naive implementation of isValidCodePoint will
> almost always require one more branch than
> isSupplementaryCodePoint,
> making it more valuable to optimize.
Thanks, now it's clear what you meant. My disadvantage not being so
familiar with english here in Germany.
-Ulf
More information about the core-libs-dev
mailing list