Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Nothing stops the jvm from caching hashes even if the hashes are unique per process invocation.


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: