-
-
Notifications
You must be signed in to change notification settings - Fork 925
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(peazy) enumerator backports for 1.7 (#4563)
* Implemented Enumerator#peek_values * Implemented Enumerator#next_values * Implemented Enumerator#feed method * Set feedValue to nil for Enumerator#next_values method as well * Reduce getRuntime/context.runtime calls for better performance * Fix the bug with size with each_slice without block * Return Enumerator self calling #each with no block. Fixes #3009. + back-port-fix: make sure feedValue is always initialized
Showing
2 changed files
with
68 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters