Generate bytecode for computing sort keys
The idea of hotspot bytecode generation is to ensure that we generate code for the most frequently executed subexpressions. These need to be identified as ByteCodeCandidate expressions during static optimization.
Currently the select expression of xsl:sort is not being identified as a ByteCodeCandidate, so it does not benefit from hotspot compilation even though it is likely to be frequently executed.
Patch committed and tested on the 9.9 branch.
Please register to edit this issue