The current documentation for the Range operator .. states that it will not burn up memory for counting loops:
... The range operator is useful for wr
The last time perlop says this
Be aware that under the current implementation, a temporary array is created, so you'll burn a lot of memory if you write something like this:
is in version 5.4_68.
In 5.4_69 (released on 29 June 1998) it changes to being very close to the current version
In the current implementation, no temporary array is created when the range operator is used as the expression in C loops, but older versions of Perl might burn a lot of memory when you write something like this:
But I can't find the change mentioned in a perldelta anywhere!
Anyway, we're talking about a sixteen-year-old fix,