Raised This Month: $ Target: $400
 0% 

TrieCreate -- what is it? How to use it.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-19-2011 , 11:44   Re: TrieCreate -- what is it? How to use it.
Reply With Quote #6

Quote:
Originally Posted by abdul-rehman View Post
As far as Exolent told me, Tries allows you to index arrays with strings instead of numbers
Heres a brief concept map:
Code:
// this is not real coding, it just gives you an idea of what tries do my_trie[ "gamer99" ] = 89 my_trie[ "Arkshine" ] = my_key // Tries also support strings my_trie[ "Arkshine" ] = "my string"
Note that you have to know what the key data type is before you retrieve it.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode