Feature 4890 lazy enumerator #101

Closed
wants to merge 7 commits into
from

Projects

None yet

2 participants

@gregolsen

Please, see http://bugs.ruby-lang.org/issues/4890 for more info about enumerator laziness.

Last week I've made this PR #100. But I've faced some problems while trying to push the idea further.

So, here's a straight C implementation of the Enumerable::Lazy based on ruby code, suggested in original feature request on bugs.ruby-lang.org.

Enumerable::Lazy#map, Enumerable::Lazy#select, Enumerable::Lazy#reject, Enumerable::Lazy#grep added so far but I'm keep working on other methods as well.

@nobu nobu closed this Mar 14, 2012
@szuecs szuecs pushed a commit to szuecs/ruby that referenced this pull request Dec 11, 2013
@nobu nobu * enumerator.c: add Enumerable#lazy. based on the patch by
  Innokenty Mikhailov at <ruby#101>
  [ruby-core:37164] [Feature #4890]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
0b2c4f4
@tenderlove tenderlove pushed a commit to tenderlove/ruby that referenced this pull request Jan 24, 2014
@nobu nobu * enumerator.c: add Enumerable#lazy. based on the patch by
  Innokenty Mikhailov at <ruby#101>
  [ruby-core:37164] [Feature #4890]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
77dcdf5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment