# from Lutz Gehlen
# on Wednesday 12 May 2010 14:19:
>On Wed, May 12, 2010 at 11:32:59AM -0700, Eric Wilhelm wrote:
>> That might be simple, but no builtins do this, which seems to say
>> something. If you're still working with lists, you expect them to
>> behave like lists, and not try to package themselves in a reference
>
>The following comment has admittedly not much to do with wantarray
>any more, but I would still like to point out that returning array
>references can make sense sometimes,... if this behaviour is well
>documented the gain in CPU and memory efficiency might be worth the
>loss of encapsulation.
It may make sense to make the tradeoff between the API making sense and
inefficiencies of the current interpreter implementation. But, don't
confuse this with making sense. ;-)
--Eric
--
Atavism n: The recurrence of any peculiarity or disease of an ancestor
in a subsequent generation, usually due to genetic recombination.
---------------------------------------------------
http://scratchcomputing.com
---------------------------------------------------