Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Linked lists as arrays: inserting values

by DentArthurDent (Monk)
on Sep 25, 2006 at 15:49 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://574764]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-25 16:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found