String interning

Tom Tromey tromey@cygnus.com
Fri Apr 14 09:00:00 GMT 2000


Bryce> Even then, it still runs the InternHog test about 4X or more
Bryce> faster than the linux JDK 1.2.2 implementation, and scales
Bryce> well.

I'm curious to know how well we fare against 1.2.2 in other
situations.  Does 4x represent a good result for us?  Or is it a
slowdown compared to how we "ordinarily" perform?

If this is a performance-critical area, then I'm inclined to accept a
more complex implementation in order to get better performance.  This
code is relatively well bounded, and we can document it heavily, so in
the long run the complexity wouldn't be a problem.

Tom


More information about the Java-patches mailing list