/[Apache-SVN]
ViewVC logotype

Revision 524810


Jump to revision: Previous Next
Author: zongaro
Date: Mon Apr 2 15:51:55 2007 UTC (17 years ago)
Changed paths: 1
Log Message:
Part of fix for Jira issue XALANJ-2375.

Lexer.tokenize was always creating an OpMapVector object with large initial
sizes.  This was wasteful, because each XPath expression so tokenize might
need only a small amount of space.  Instead, changed the initial size to be
equal to five times the length of the string to be tokenized, just as a
very conservative estimate.  This has a significant impact on the performance
of the XPath API.

Reviewed by Christine Li (jycli () ca ! ibm ! com).


Changed paths

Path Details
Directoryxalan/java/trunk/src/org/apache/xpath/compiler/Lexer.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26