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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Perl is dying (better sorting than the ST)
by diotalevi (Canon) on Feb 11, 2007 at 20:49 UTC | |
by Aristotle (Chancellor) on Feb 13, 2007 at 04:46 UTC |