Setting break points
ducasse
ducasse at iam.unibe.ch
Mon Nov 17 21:34:16 UTC 2003
>>
>
> Not entirely - MethodWrappers is an extra package with some pretty
> ugly code, ObjectsAsMethods seems to Just Work now that VM support is
> there. Also, ObjectsAsMethods has surprisingly little overhead - I
> measure about 30-40% slower than a normal CompiledMethod, whereas I
> remember MethodWrappers having much more than that.
This is strange because when I benchmarckd in 99 MethodWrappers they
were the best in term of speed compared to all kinds of other tricks
I used (anonymous behavior)...in VW.
I never noticed that the code was that bad. Normally john writes quite
good code.
> BTW, the counterpart I wanted was CompiledMethod>>run:with:in: ...
> IIRC there was some prim introduced for the BC Compiler that would
> make that easy?
>
>
More information about the Squeak-dev
mailing list
|