Actions
Bug #3943
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)
fn:innermost() optimization not working
Start date:
2018-10-03
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.8, 9.9
Fix Committed on Branch:
9.8, 9.9
Description
The implementation of the fn:innermost function is designed to avoid sorting the argument sequence into document order if it's statically known to be already sorted. However (in 9.8 and 9.9) this optimization isn't working: the "presorted" flag is never set (except when loading from a SEF on which it is already set), and the sort into document order always takes place.
Related issues
Please register to edit this issue
Actions