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

Cool! Yes, that’s been our experience in Java as well. The randomized order of unmodifiable Set and Map (from `Set.of` and `Map.of`) have enabled us to make optimizations to the internals mostly with impunity. We’ve done so twice since their introduction and we might do so again.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: