Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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

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 romping around the Monastery: (4)
As of 2016-09-30 22:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (574 votes). Check out past polls.