Use a bit-mapped patricia trie in nash

this is much faster than the world's worst hashtable, or will be when it
actually works...
Use 32-bit bit functions in patricia trie