3 ms·
I chose it because I wanted to learn Rust by implementing my own BTreeMap struct. I admit it’s not a good choice performance-wise, and made the comparison with
by arthurtw 12y ago
I chose it because I wanted to learn Rust by implementing my own BTreeMap struct. I admit it’s not a good choice performance-wise, and made the comparison with Nim less meaningful.
I’ve updated the code and article with HashMap. It runs about 6~7% faster than BTreeMap.