Rewrote my #adventofcode day 6 challenge in #rust from building an object tree with Rc + RefCell to a much simpler version that only uses a string to string mapping for the tree traversal.
Also threw in FNV as HashMap hasher for an extra speed bump. The difference is huge.
Part 1 is 61% faster (598 μs down to 233 μs).
Part 2 is 97% faster (40 ms down to 1 ms).
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!