Search the web
Sign In
New User? Sign Up
perlsemny · Perl Seminar New York
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Tuesday December 18: Perl is 20; Perl Seminar is 7   Message List  
Reply | Forward Message #778 of 934 |
Our December meeting falls on Perl's 20th birthday. And Perl Seminar
NY started in December 2000, so in our 8th season we're celebrating
our 7th birthday! So chances are good that after Steve's talk
(below), celebration will occur!

Perl Seminar NY
Tuesday, December 18, 2007
6:15-8:15 pm
NYPC User Group office suite
481 8th Ave, Suite 550
(between West 34 & 35 Sts, Manhattan)

Steve Lembark, "Developing a Fast Linked List in Perl: Why and How"

Abstract:
Perl will iterate a single array quickly using
the 'foreach (@array)' loop. This works for a large number of
cases, but does not handle the case of comparing
two lists to one another: the for loop only gives
you one loop 'for free'. This leaves $otherloop[$i]
as the main alternative for non-destructively
examining the other loop.

Problems start when both lists are long. Things start to bog down on
computing the offset of
entries in a 100K list.

Linked list classes in Perl are up there with
java compilers in rarity. The only linked list
class around uses doubly-linked lists, which
are flexable but bulky and slow.

There are two ways to handle this: inline code
or an object. The inline code is reasonably
fast, the object is a bit tricky to implement
however. Object:: LinkedList implements an object for handling linked
lists. That's what we'll talk about on December 18.




Fri Dec 7, 2007 2:53 am

jamesekeenan
Offline Offline
Send Email Send Email

Forward
Message #778 of 934 |
Expand Messages Author Sort by Date

Our December meeting falls on Perl's 20th birthday. And Perl Seminar NY started in December 2000, so in our 8th season we're celebrating our 7th birthday! So...
James E Keenan
jamesekeenan
Offline Send Email
Dec 7, 2007
2:53 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help