The best way of listing a Trie
The idea is to be able to list all records in a Trie without knowing anything about the data in them (only we know that the Trie has key [nickname] and a value [unique ID]), only the Trie handle ?!
|
Re: The best way of listing a Trie
For 1.8.2, you can check CellTravTrie include, it's a combinaison of Trie + Array. It's more expensive, but if you need absolutely that, it may help.
In 1.8.3-dev, you have some TrieSnapshot API which allows to create a snapshot of your keys, then you can list them. It will be likely removed or replaced as design kind of suck right now. |
| All times are GMT -4. The time now is 09:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.