RFR (XXS) 8080535: (ch) Expected size of Character.UnicodeBlock.map is not optimal (original) (raw)

Martin Buchholz martinrb at google.com
Mon May 18 18:52:15 UTC 2015


On Fri, May 15, 2015 at 5:59 PM, Ivan Gerasimov <ivan.gerasimov at oracle.com> wrote:

On 16.05.2015 2:18, Martin Buchholz wrote: I wouldn't bother defining the constant. I only need it in the regression test, to check whether it was sufficient.

The problem you're trying to solve is (a small amount of) startup overhead. Don't introduce more startup overhead (another constant in the class file) just to make your change more testable.

If you're serious about reducing overhead for static maps, you could:

but any of those is a lot of work. I would just check in the fix to s/256/BETTER_SIZE/



More information about the core-libs-dev mailing list