Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2017-08-18 21:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (310 votes). Check out past polls.

    Notices?