<i18n dev> RFR: 8335252: Use ImmutableBitSetPredicate optimize j.u.Formatter.Conversion#isValid

Claes Redestad redestad at openjdk.org
Thu Jun 27 12:23:09 UTC 2024


On Thu, 27 Jun 2024 11:48:56 GMT, Shaojin Wen <duke at openjdk.org> wrote:

> * byte codes of `Conversion.isValid`

It's surprising that javac generates synthetic cases identical to the default case for every char in the 37 to 120 range (the bounds seem to be the lowest and highest of the constants). 

Is there a benchmark where you see a benefit from this?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/19926#issuecomment-2194540522


More information about the i18n-dev mailing list