At 06:51 AM 8/4/00 -0700, Benjamin Stuhl wrote:
>This actually leads to a much more general question, namely
>passing of arrays to functions. For ppcode at least and
>probably any code using the perl API, it should be possible
>and IMHO desirable to push the AV* (or equivalent), rather
>than expanding the array and pushing each of its elements.
>Furthermore, if we do this, it would make passing named
>array arguments (sub foo (@baz, @qux) { ... }) much
>simpler.

There are some threading issues, but if we do iterators then we can 
definitely use this shortcut--shifting off of @_ just iterates through each 
array short-cut pushed onto the arg stack.

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to