http://qs321.pair.com?node_id=574764


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