Follow

Rewrote my day 6 challenge in 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).

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!