Unicode script support in Regex and Character class

Xueming Shen xueming.shen at oracle.com
Tue May 11 18:12:04 UTC 2010


Ulf Zibis wrote:
> Am 10.05.2010 19:53, schrieb Ulf Zibis:
>> Am 10.05.2010 03:05, schrieb Xueming Shen:
>>>
>>> Ulf,
>>>
>>> Can you be more specific? I'm not sure I understand your question. 
>>> What "buffering"
>>> are we talking here?
>>
>> In http://cr.openjdk.java.net/~sherman/6945564_6948903/webrev ,
>> I think byte[] ba could be saved in initNamePool(), as you could 
>> directly read from dis.
>
> I guess you owe me an answer here ;-)
>
> -Ulf
>
>
Directly read from dis is much slower (2-3 times slower measured on my 
sparc machine) than
do readFully() + access the byte[].

Sherman



More information about the core-libs-dev mailing list