Re: Unicode script support in Regex and Character class

2010-05-09 Thread Xueming Shen
Ulf, Can you be more specific? I'm not sure I understand your question. What "buffering" are we talking here? If you are referring to code below dis = new DataInputStream(new InflaterInputStream( AccessController.doPrivileged(new PrivilegedAction() { public InputS

Re: A List implementation backed by multiple small arrays rather than the traditional single large array.

2010-05-09 Thread David Holmes
(re-sent with previous emails trimmed to reduce size) Kevin, The difference is the use of invokeInterface vs invokeVirtual. Now, as to why those two differ so much, you'd have to ask the VM compiler guys. David Holmes Kevin L. Stern said the following on 05/09/10 23:14: Trying to understan

Re: Unicode script support in Regex and Character class

2010-05-09 Thread Ulf Zibis
Sherman, I don't understand, why you use so much buffering. InputStream from getResourceAsStream, and I believe InflaterInputStream too, is yet buffered. My understanding until now was, that access to buffered byte streams is as fast as to naked byte arrays. Am I wrong? -Ulf Am 08.05.2010