Convert trie nodes from named tuples to regular objects with features to save memory.
Convert trie nodes from named tuples to regular objects with features to save memory.

Use __slots__ to avoid dictionary-per-object memory hit.
Use plain string and object pointer when only one child to avoid using
a dictionary.

tshlabs/avalonms