At 08:43 PM 10/23/00 -0400, Uri Guttman wrote:
> >>>>> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes:
>
>   DS> At 08:33 PM 10/23/00 -0400, Uri Guttman wrote:
>   >> as for ziggy's comments on the overload of builtins issue there could be
>   >> a simple dispatch table used instead of direct calls. it would be fast
>   >> with just an indexed lookup based on the op code id.
>
>   DS> FWIW, this isn't all that fast. I tried it with perl 5, and saw a 
> rather
>   DS> significant performance hit. ~20% IIRC, but the numbers are in the p5p
>   DS> archives somewhere.
>
>not a good sign but we may need to take the hit to support overloading
>any function and supporting TIL and threads. i think a %20 hit to get
>those working cleanly might be a decent tradeoff.

I don't. If the ultimate result's faster than what we have now then it's 
OK, but if it's not, then I don't think we should do it unless the language 
design documents require it. (And I hope they don't...)

We can't slow down, no matter what it might buy us.


                                        Dan

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

Reply via email to