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

The hash set and hash map for scala are actually based on hash tries, but with a non-cryptographic hash, so collisions still need to be handled.

I wrote efficient set operations for scala.collection.immutable.HashSet once. Lots of bit-twiddling, which is not as fun on the JVM compared to rust...



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

Search: