[jdom-interest] Tiny optimization

Jason Hunter jhunter at acm.org
Fri Aug 17 11:45:31 PDT 2001


Done.  Good idea.

-jh-

Laurent Bihanic wrote:
> 
> 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
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com



More information about the jdom-interest mailing list