Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Linked Lists and Perl

by demerphq (Chancellor)
on Sep 29, 2006 at 07:31 UTC ( #575473=note: print w/ replies, xml ) Need Help??


in reply to Linked Lists and Perl

Linked lists are often used where you want to add and remove elements from a structure on a regular basis and do not want to deal various performance and management issues that would come from using a structure like a C level array. Perls array implementation handles all that crap itself so theres generally not a lot of point.

Having said that if you want a fast ring buffer with constant time insertion into a specific point then linked lists are hard to beat.

---
$world=~s/war/peace/g


Comment on Re: Linked Lists and Perl

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2014-12-25 14:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls