Actions
Bug #2367
closed![Author: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
Performance regression with xsl:key
Start date:
2015-04-29
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.6
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Platforms:
Description
The fix to bug #1968 introduced a performance regression for keys where the key definition references global variables or user-defined functions. Indexes for such keys are no longer held globally, because the index (and the result of using it) can depend on per-transformation data such as global stylesheet parameters. Instead they are held at the level of the Controller. But such local indexes are not being properly cached for the duration of a transformation and are therefore built repeatedly rather than being reused. Test case key-089 illustrates the problem.
Please register to edit this issue
Actions