DEV Community

Discussion on: Javascript iterators and generator functions are slow!

Collapse
 
pouja profile image
Pouja

Which makes sense right. You are pausing and resuming the generator, which introduces the overhead in time.