General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Anony Mousse
Indently
comments
Comments by "Anony Mousse" (@anon_y_mousse) on "Infinite Iterators in Python are Awesome" video.
First of all, indefinite is not infinite. Second of all, even if it were limited to 64-bit integers, iterating one at a time would take a very long time. However, it uses a bignum type and is thus limited only by your available memory. If we're talking about counting one at a time on a modern computer with gigabytes of RAM, even with a really fast computer it might still be counting when you die of old age. Granted, I've got a potato and even counting from 1024**4 by the same after about 30 minutes I killed the process and it was still only to 21 digits.
2
@alexey_sychev From your perspective, having a limited lifespan, it essentially is infinite.
2