Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
yxhuvud
10 months ago
|
parent
|
context
|
favorite
| on:
Strings Just Got Faster
Nothing stops the jvm from caching hashes even if the hashes are unique per process invocation.
PaulHoule
10 months ago
[–]
They aren’t and it’s quite unfortunate that the empty string hashes to 0 so it will have to recompute every time although presumably it is quick to compute the hash of the empty string.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: