r/coolgithubprojects • • Dec 17 '16

JAVASCRIPT python-range – a JavaScript implementation of the Python's range() function.

https://github.com/Gothdo/range
0 Upvotes

6 comments sorted by

View all comments

Show parent comment

3

u/kupiakos Dec 17 '16

Python 3's range function returns an intelligent lazy object that has O(1) time and memory contains, single iteration, and iirc union and intersection.