Thank you for your response.
arrays smaller and faster (as long as you don't access them via the $#
That's unfortunate.
Is it really impossible to make read-only references to $#.. equivalent (in performance, cost and side-effects), to ( Scalar @.. - 1 )?
Ie. Could not the application of magic to an array, and all the penalties that go with it, be deferred until it is used in an lvalue context?
In reply to Re^5: Does @{ } copy arrays?
by BrowserUk
in thread Does @{ } copy arrays?
by tford
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |