Feature 4890 lazy enumerator #101
+171
−1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.