At 09:30 PM 9/30/2001 +0100, Simon Cozens wrote:
>On Sun, Sep 30, 2001 at 12:57:53PM -0700, Brent Dax wrote:
> > That isn't quite valid Parrot bytecode, because of the concat.  Concat
> > is currently documented to take only two arguments.
>
>This is because concat is broken. I think I need a ruling from Dan on
>whether it should add to one string, or add two strings together. The
>implementation can be smart about checking the pointers coming in to
>optimize the latter to the former.

Concat's three arg:

   cocnat sx, sy, sz

It's OK to check and see if sx is either sy or sz and optimize accordingly.

                                        Dan

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

Reply via email to