[jdom-interest] About JDOM performance
Jason Hunter
jhunter at collab.net
Thu May 24 02:23:03 PDT 2001
> Tierco, the LinkedList use is really memory consumming.
As of a few seconds ago we're using ArrayList instead! It shows
significant memory savings. See the check-in message at
http://lists.denveronline.net/lists/jdom-commits/2001-May/000677.html
for details.
> According to many books on Java perfomance, linked lists are
> definitively slower than an array based collection, except
> for some kind of Queue, which is not how JDOM use the collections.
Simple timings also show build time improvements with the change to
ArrayList. For the largest file (xlink.xml) build times varied between
4000-4400ms with LinkedList and are now 2800-3500ms with ArrayList.
-jh-
More information about the jdom-interest
mailing list