Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Fast data structure..!!!

by kyle (Abbot)
on Apr 15, 2008 at 15:26 UTC ( #680538=note: print w/ replies, xml ) Need Help??


in reply to Fast data structure..!!!

If you really are storing numerical data with numerical keys, an array might serve you better than a hash.

Have you tried profiling your code to make sure that this really is the part that needs to be optimized? I find it hard to believe that in any useful application, storage and retrieval in RAM is the bottleneck.


Comment on Re: Fast data structure..!!!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://680538]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (14)
As of 2015-07-29 15:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (265 votes), past polls