Actions
Feature #4039
closedOptimizing format-integer() when the picture/language are known statically
Start date:
2018-11-20
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.9
Fix Committed on Branch:
9.9
Fixed in Maintenance Release:
Platforms:
Description
Unlike other functions such as format-number() and format-date(), the format-integer() function does not optimize for the case where the picture and language are known statically.
This has been remedied. (Moreover, the mechanism now takes advantage of Java 8 higher-order functions, which makes it much simpler than previous mechanisms)
Updated by Debbie Lockett about 5 years ago
Patch committed for the added FormatInteger.copy
method to use System.Function.makeFunction()
rather than new FormatInteger();
so that the details are actually copied.
The problem was causing a number of QT3 converted tests to fail at compile time, e.g. fn-format-integer-019.
Updated by O'Neil Delpratt about 5 years ago
- % Done changed from 0 to 100
- Fixed in Maintenance Release 9.9.1.1 added
Bug fix applied to the Saxon 9.9.1.1 maintenance release.
Updated by O'Neil Delpratt about 5 years ago
- Status changed from Resolved to Closed
Please register to edit this issue
Actions