Actions
Bug #2825
closedXQuery performance degradation with Saxon-HE 9.7.0.6
Start date:
2016-07-05
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.7, trunk
Fix Committed on Branch:
9.7, trunk
Fixed in Maintenance Release:
Platforms:
Description
The attached XQuery code is a REx parser that was generated from the EcmaScript grammar at http://bottlecaps.de/rex/EcmaScript.ebnf. It also has some extra tracing on some parsing functions.
Originally I had observed that a similar parser seemed not to terminate, but some investigation showed that it indeed works, however doing a lot of excessive work.
Using this command line to parse a single integer literal,
java net.sf.saxon.Query Ecmascript.xquery input={1}
the parser terminates quickly when run on 9.7.0.5, tracing 96 lines. On 9.7.0.6, there are 450924 trace lines. The result is OK, though.
Files
Please register to edit this issue
Actions