Quote:
Originally Posted by YamiKaitou
Never used Trie. What are the benefits?
|
Just compare to this:
Code:
new Trie:g_tSteamIds;
// init
g_tSteamIds = TrieCreate( );
// end
TrieDestroy( g_tSteamIds );
// add
TrieSetString( g_tSteamIds, "STEAM_0:1:16", 1 ); // Hi bailopan!
// check
TrieKeyExists( g_tSteamIds, "STEAM_0:1:16" );
// delete
TrieDeleteKey( g_tSteamIds, "STEAM_0:1:16" );
__________________