In which versions of ruby are external iterator speeds improved?

Posted by Andrew Grimm on Stack Overflow See other posts from Stack Overflow or by Andrew Grimm
Published on 2010-06-17T01:28:39Z Indexed on 2010/06/17 1:32 UTC
Read the original article Hit count: 311

Filed under:
|
|

According to this rubyquiz, external iterators used to be slow, but are now faster. Is this an improvement only available in YARV (the C-based implementation of ruby 1.9), or is this also available in the C-based implementation of ruby 1.8.7?

Also, does enum_for rely on external iterators?

© Stack Overflow or respective owner

Related posts about ruby

Related posts about enumeration