Actions
Bug #3943
closedfn: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