Maybe it's optimized for reversing arrays but not for reversing ranges:But the post of yours which I replied to explicitly showed @a as an example, not a range. I never claimed ranges were optimised, while you implied that arrays weren't.
Dave.
In reply to Re^6: counting backward (optimize foreach reverse low .. high
by dave_the_m
in thread counting backward
by ag4ve
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |