Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://574764]
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 2016-10-27 19:37 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (369 votes). Check out past polls.