ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ruby-talk
ruby-talk
Re: Performance of SyncEnumerator
by Ken Kunz other posts by this author
May 1 2005 12:01AM messages near this date
[ANN]: PageTemplate 2.1 | Re: Performance of SyncEnumerator
Matt,

Take a look a the recent discussion on RedHanded regarding
SyncEnumerator performance issues:
http://redhanded.hobix.com/inspect/enumerateSideBySideWithSyncenumerator.html

It boils down to: Generator uses continuations, which can be dreadfully
slow.

Enumerable#zip(arg) may provide a more elegant alternative than
each_with_index, but only if arg can be coerced into an Array.

Cheers,
Ken
Thread:
Ken Kunz
Matt Mower

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved