Put would store the UID for the key.
(key string, uid uint64)
| 48 | |
| 49 | // Put would store the UID for the key. |
| 50 | func (t *Trie) Put(key string, uid uint64) { |
| 51 | t.put(t.root, key, uid) |
| 52 | } |
| 53 | |
| 54 | // Size returns the size of Arena used by this Trie so far. |
| 55 | func (t *Trie) Size() uint32 { |