in reply to Re^4: Does @{ } copy arrays?
in thread Does @{ } copy arrays?
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Does @{ } copy arrays?
by LanX (Saint) on Oct 17, 2009 at 19:28 UTC | |
by ikegami (Patriarch) on Oct 23, 2009 at 16:47 UTC | |
by QM (Parson) on Oct 29, 2009 at 16:36 UTC | |
by ikegami (Patriarch) on Oct 29, 2009 at 16:47 UTC | |
by QM (Parson) on Oct 30, 2009 at 14:22 UTC | |
| |
by BrowserUk (Patriarch) on Oct 19, 2009 at 03:35 UTC | |
by LanX (Saint) on Oct 19, 2009 at 13:37 UTC | |
by ikegami (Patriarch) on Oct 23, 2009 at 19:52 UTC | |
by BrowserUk (Patriarch) on Oct 23, 2009 at 22:22 UTC | |
| |
by LanX (Saint) on Oct 23, 2009 at 20:33 UTC | |
| |
by BrowserUk (Patriarch) on Oct 23, 2009 at 16:19 UTC | |
by LanX (Saint) on Oct 23, 2009 at 19:43 UTC | |
|