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 Matt Mower other posts by this author
May 1 2005 2:38AM messages near this date
Re: Performance of SyncEnumerator | OpenGL 3D gears demo for Ruby
Hi Ken,

On 5/1/05, Ken Kunz <kennethkunz@[...].com>  wrote:
>  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.
>  

Thanks for the link, I wish I'd read that before I wrote the original
code at least it might have reminded me that Enumerable#zip was an
alternative in my case ;-)

It's a pity about the slowness of continuations since we agree that
SyncEnumerator provides a very neat solution.  As you observed maybe
Rite/YARV will improve the situation.  We can but hope!

Thanks,

Matt

-- 
Matt Mower :: http://matt.blogs.it/
Thread:
Ken Kunz
Matt Mower

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