in reply to Re: Linked lists as arrays: inserting values
in thread Linked lists as arrays: inserting values

I had checked List::MoreUtils and noted it didn't do that, and it might be nice for completeness. But given the other replies here, I think splice is about perfect as-is.

<radiant.matrix>
A collection of thoughts and links from the minds of geeks
The Code that can be seen is not the true Code
I haven't found a problem yet that can't be solved by a well-placed trebuchet
  • Comment on Re^2: Linked lists as arrays: inserting values

Replies are listed 'Best First'.
Re^3: Linked lists as arrays: inserting values
by holli (Abbot) on Sep 26, 2006 at 07:00 UTC
    Yup. I benchmarked my solution against the other two and it is way slower. But: It looks best ;-)


    holli, /regexed monk/