[jdom-commits] CVS update: jdom/src/java/org/jdom
jhunter at cvs.jdom.org
jhunter at cvs.jdom.org
Sun Jun 10 17:05:23 PDT 2001
Date: Monday June 11, 2001 @ 1:05
Author: jhunter
Update of /home/cvspublic/jdom/src/java/org/jdom
In directory www.nmemonix.com:/tmp/cvs-serv13496
Modified Files:
Element.java
Log Message:
Changed Element parentage so only one variable is used for the parent.
It may be of type Element or Document depending on where the elt is placed
in the tree. This saves one instance variable's worth of memory for each
element in the tree.
On JDK 1.2.2 Windows it doesn't appear to change things (because of
passing in the memory layout I presume) but on JDK 1.3 Windows with
HotSpot this definitely saves memory. Performance appears no different
and in fact a little faster on the test cases.
-jh-
===================================================================
File: no file Element.java Status: Needs Checkout
Working revision: 1.84 Mon Jun 11 00:05:23 2001
Repository revision: 1.84 /home/cvspublic/jdom/src/java/org/jdom/Element.java,v
Existing Tags:
start (revision: 1.1.1.1)
jdom (branch: 1.1.1)
More information about the jdom-commits
mailing list