> Second, I have spotted that in several code locations, Jaxen uses 1 long
> ArrayLists for creating single element node sets. These could be optimized
> into java.util.Collections.singletonList() to prevent some unnecessary
> allocations of array objects underlying the ArrayList.

Unfortunately, the Collectons.singletonList() method is only available in
JDK 1.3 and later, so you probably shouldn't do that unless Jaxen will no
longer be supporting JDK 1.2.

Ari Kermaier    [EMAIL PROTECTED]
Senior Software Engineer
Phaos Technology Corp.    http://www.phaos.com/



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Jaxen-interest mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jaxen-interest

Reply via email to