Rafael Garcia-Suarez <[EMAIL PROTECTED]> writes:
> ".." optimized
> The range ".." operator is usually optimized in a foreach loop, so that
> the list is not constructed in place. However, for alphabetic ranges,
> and when the range is not the only thing in the foreach() argument, this
> optimization does not occur (bug #30123, reported by Michael G Schwern).
Alphabetic ranges are certainly optimized. The optimization
kicks in for all blocks of the form:
for ((expr) .. (expr)) {
#...
}
Regards,
Gisle