toss / es-toolkit

A modern JavaScript utility library that's 2-3 times faster and up to 97% smaller—a major upgrade to lodash.
https://es-toolkit.slash.page
Other
7.07k stars 325 forks source link

Support for ES6 iterators #194

Open segevfiner opened 4 months ago

segevfiner commented 4 months ago

lodash was built before iterators, most of the operations can achieve better performance/memory usage if they were built around iterators instead, it would be nice if this library supported iterators rather than just plain Arrays/Objects. Taking it a step further than just another lodash.

raon0211 commented 4 months ago

You're right. We might implement some features implemented in iterator-polyfill or other libraries.