CharacterData.of has a fast-path returning CharacterDataLatin1 for code points in the latin1 range.
The test for this fast-path is currently expressed as 'ch >>> 8 == 0', this can be replaced with just 'ch < 0xFF' which seems faster.
The test for this fast-path is currently expressed as 'ch >>> 8 == 0', this can be replaced with just 'ch < 0xFF' which seems faster.
- links to
-
Review openjdk/jdk/13040