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).
|