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
|