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 20:28:10 GMT
Hi,

> talking about performance...what is the difference between new
> HashMap<...>() and your suggested Maps.newHashMap() ?

According to my test, there is no performance difference in Java 1.5
and Java 1.6. I guess the method is inlined because it is so simple.

Regards,
Thomas

Mime
View raw message