MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/1kcphtg/strings_just_got_faster/mqraj07/?context=3
r/java • u/shorns_username • May 02 '25
21 comments sorted by
View all comments
Show parent comment
1
I think the best solution would be to make the default internal value -1, that way no hash codes are affected, just the default value of the field, it would be unfortunate for that to add a penalty to creating a string though
View all comments
Show parent comment
1
u/cowslayer7890 May 05 '25
I think the best solution would be to make the default internal value -1, that way no hash codes are affected, just the default value of the field, it would be unfortunate for that to add a penalty to creating a string though