Generation Size
Let's learn what a generation size is and how the generation size is passed to a generator.
Getting to know generator size
If we take a few elements out of a generator like StreamData.integer/0
, we’ll notice that those integers are simple, that is, they are small integers centered around zero. Now, try to take a few elements out of integer/0
but after discarding a lot of elements:
Executable
Get hands-on with 1400+ tech skills courses.