Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Efficient giant hashes

by perlfan (Vicar)
on Mar 10, 2005 at 18:43 UTC ( [id://438378]=note: print w/replies, xml ) Need Help??


in reply to Re: Efficient giant hashes
in thread Efficient giant hashes

Speeding it up is only possible by using less memory at a time.

Not if what he is trying to do is has a complexity greater than O(n), i.e., if he is entering into another loop of some kind for each element (or even for just every ith element).

Replies are listed 'Best First'.
Re^3: Efficient giant hashes
by Anonymous Monk on Mar 14, 2005 at 11:42 UTC
    Well, yeah, he could do anything else in his program that could be made faster. But since we don't know the rest of his program, nor is his question about that, it's nothing more than pure speculation, and rather pointless.

    Perhaps he's recompiling perl each time he inserts a hash element.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-20 12:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found