3 ms·
Here's mine: https://github.com/superlopuh/SuperTrie https://github.com/superlopuh/SuperTrie I've implemented at least 5 different generic Tries since this one
by superlopuh 8y ago
Here's mine: https://github.com/superlopuh/SuperTrie https://github.com/superlopuh/SuperTrie
I've implemented at least 5 different generic Tries since this one. The idea is almost always the same, but different tradeoffs can require different implementations. While I don't recommend that you use this version, the contents of [1] should give you all the inspiration you need to roll your own.
[1] https://github.com/superlopuh/SuperTrie/blob/master/SuperTrie/STNode.swift https://github.com/superlopuh/SuperTrie/blob/master/SuperTri...