>>>>> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes:

DS> I was actually thinking that @b * @c would boil down to a single vtable 
DS> call--we'd just hit the multiply function for variable @b, and pass it a 
DS> pointer to @c, and let it Do The Right Thing.

But that was my question in the _other_ thread. How?

Given N different fundemental types, we end up with NxN vtbl entries.

A long time ago I looked at some smalltalk code that did

        foo add: bar

It must have been pretty bad, because I can't remember how they did
it. But I vaguely recall that at least one path, flipped the object
and the sender. Others did asFoo messages on the sender.

<chaim>
-- 
Chaim Frenkel                                        Nonlinear Knowledge, Inc.
[EMAIL PROTECTED]                                               +1-718-236-0183

Reply via email to