[jdom-commits] CVS update: jdom/src/java/org/jdom

jhunter at cvs.jdom.org jhunter at cvs.jdom.org
Wed May 9 10:25:38 PDT 2001


Date:	Wednesday May 9, 2001 @ 18:25
Author:	jhunter

Update of /home/cvspublic/jdom/src/java/org/jdom
In directory www.nmemonix.com:/tmp/cvs-serv17153

Modified Files:
	Element.java 
Log Message:
Performance optimization in setAttribute() so that removeAttribute()
on a pre-existing attribute is only called when necessary, as determined 
by an earlier scan through the attributes.

This was submitted by Phil Nelson who says it gave an 8% time savings
during a fresh build.

-jh-

===================================================================
File: no file Element.java		Status: Needs Checkout

   Working revision:	1.76	Wed May  9 17:25:38 2001
   Repository revision:	1.76	/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