in reply to Re^6: Perl is dying (better sorting than the ST)
in thread Perl is dying
If perl knew the array was going to be thrown away at the end of the statement, and that all indexed look ups were within the bounds of the original.
Its a big if, hence the reason I mentioned Python's tuples, which could be seen from a perl perspective to be a form of compiler hinting, telling the compiler that an AV need not be constructed. You could prototype the syntax using a RO AV for instance.