Raised This Month: $51 Target: $400
 12% 

[solved] about arrays


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 03-03-2011 , 03:52   [solved] about arrays
Reply With Quote #1

which method
KeyValues
ADT arrays
or something elae
can work fast with less memory requirements
stable with searching in by value
Leonardo is offline
FoxMulder
Senior Member
Join Date: Jan 2009
Location: Orlando, FL
Old 03-03-2011 , 06:22   Re: about arrays
Reply With Quote #2

Here's what bl4nk said

Quote:
Originally Posted by bl4nk View Post
It really depends on your method of lookup, as they're both really fast. If you can lookup by a string, then go with tries. If you need to iterate through something (or have an ordered list of sorts), go with the array.
__________________
FoxMulder is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 03-03-2011 , 08:49   Re: about arrays
Reply With Quote #3

thanks.
choosing a Trie...
Leonardo is offline
Reply



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 01:50.


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