Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Linked lists as arrays: inserting values

by DentArthurDent (Monk)
on Sep 25, 2006 at 15:49 UTC ( #574764=note: print w/ replies, xml ) Need Help??


in reply to Linked lists as arrays: inserting values

If the insert appears to be greater than O(n log n) then perhaps keeping a hash of the data and generating the order with a sort of the keys list might be faster...

Just a thought..

----
My mission: To boldy split infinitives that have never been split before!


Comment on Re: Linked lists as arrays: inserting values

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2014-08-22 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (164 votes), past polls