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

jhunter at cvs.jdom.org jhunter at cvs.jdom.org
Fri Aug 17 10:16:40 PDT 2001


Date:	Friday August 17, 2001 @ 18:16
Author:	jhunter

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

Modified Files:
	SAXHandler.java 
Log Message:
Adding a SAXHandler optimization suggested by Laurent Bihanic.  Below 
is his email.

-jh-

In SAXHandler, in method characters() changing
         if (suppress) return;
into
         if ((suppress) || (length == 0)) return;
reduces by 5% the parsing time when using Crimson. Apparently this latter 
reports line breaks as character data of length 0.

The same should apply to ignorableWhitespace().

Laurent

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

   Working revision:	1.20	Fri Aug 17 17:16:40 2001
   Repository revision:	1.20	/home/cvspublic/jdom/src/java/org/jdom/input/SAXHandler.java,v

   Existing Tags:
	jdom_1_0_b7              	(revision: 1.18)




More information about the jdom-commits mailing list