Sascha Brawer wrote:
> Jeroen Frijters <[EMAIL PROTECTED]> wrote on Fri, 30 Jan 2004 
> 16:13:55 +0100:
> 
> >+    Hashtable fieldLookup = new Hashtable();
> 
> A micro-optimization: All accesses to java.util.Hashtable are thread-
> safe, which constitutes an overhead. Using java.util.HashMap would be
> slightly faster.

I actually considered that, but I didn't want to introduce another
dependency (the current code already uses Hashtable).

Thanks for looking at the code.

Regards,
Jeroen


_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to