3 ms·
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 effici
by rklaehn 7y ago
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...