RFR: 8221723: Avoid storing zero to String.hash

Pavel Rappo pavel.rappo at oracle.com
Mon Apr 1 13:17:40 UTC 2019


> On 1 Apr 2019, at 13:36, Claes Redestad <claes.redestad at oracle.com> wrote:
> 
> Makes sense?

It does, thanks. I wonder though what portion of strings in a typical app has a
calculated `hash` of 0? My naive estimate would be 1E-9. Unless I'm mistaken,
is that really of concern?



More information about the core-libs-dev mailing list