Created
February 16, 2018 18:36
-
-
Save awto/82aff829d62ea4eb04ef1a0d72d689c8 to your computer and use it in GitHub Desktop.
Faster generators article - small benchmark
This file contains hidden or 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
| function* generator() { | |
| yield 1; | |
| yield 2; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment