Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Linked lists as arrays: inserting valuesby DentArthurDent (Monk) |
on Sep 25, 2006 at 15:49 UTC ( [id://574764]=note: print w/replies, xml ) | Need Help?? |
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!
In Section
Seekers of Perl Wisdom
|
|