jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Müller <thomas.muel...@day.com>
Subject Re: Generics generator class
Date Wed, 06 May 2009 11:41:05 GMT
Hi,

> is this worth it ?

No. There are better ways to improve performance :-)

> this performance issue is already solved in a modern JVM

Not completely. This particular case is much better optimized in JDK
1.6. But usually, the JVM has to do a bit more when calling interface
methods. There is still a difference, for example if you make 'list' a
private field:

Java 1.6  List: 2278; ArrayList: 1710

Regards,
Thomas

Mime
View raw message