Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Linked lists as arrays: inserting values

by radiantmatrix (Parson)
on Sep 25, 2006 at 17:13 UTC ( #574796=note: print w/ replies, xml ) Need Help??


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
Re^3: Linked lists as arrays: inserting values
by holli (Monsignor) 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/

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://574796]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (13)
As of 2014-09-30 14:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (373 votes), past polls