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


Reply via email to