[Python-Dev] Gradual migration

Barry A. Warsaw barry@wooz.org
Thu, 26 Oct 2000 10:58:23 -0400 (EDT)


>>>>> "PP" == Paul Prescod <paul@prescod.net> writes:

    PP> I agree that the slot stuff is broken but my solution would be
    PP> to junk it and use the same mechanism for looking up "type
    PP> methods" and "instance methods". I can think of two ways to
    PP> make that perform reasonably: one is method caching and the
    PP> other is by building interface objects where methods are
    PP> invoked by index -- basically vtables. But if the same
    PP> mechanism is going to accelerate Python and C types alike then
    PP> it can't really use C++ vtables because how do you generate a
    PP> vtable at runtime for a new Python class? (you could also
    PP> think of it as a COM interface object)

Objective-C!

:)