Sponsor for 6666666: A better implementation of Character.isSupplementaryCodePoint

Martin Buchholz martinrb at google.com
Tue Mar 16 20:50:55 UTC 2010


On Tue, Mar 16, 2010 at 13:36, Ulf Zibis <Ulf.Zibis at gmx.de> wrote:
> Am 16.03.2010 21:28, schrieb Martin Buchholz:

> Sorry, I'm still not convinced for the surrogate testing methods.
> Almost all chars are less than MIN_SURROGATE, so you have to beat
> the already amazingly cheap
> x >= MIN_SURROGATE.
>
>
> Good point, but ...
> ... what about :
> 6933327 - Use shifted addressing modes instead of shift instuctions
> and internal review ID of 1735166

Although I do worry about what hotspot will do with my bytecode
(as you know),
I mostly try to think more abstractly about the JIT and
simply produce high-quality JIT-friendly bytecode.

Your considerations in 6933327 seem valuable,
but are targeted at only one runtime compiler,
on only one machine architecture.

Martin



More information about the core-libs-dev mailing list