Version 0 of TclOO Method Dispatch

Updated 2009-10-03 06:33:40 by APN

APN Notes on what I have learnt about TclOO method dispatching - see [L1 ]

DKF: In terms of implementation, a few extra notes. There is an internal function called TclOOGetCallContext that returns a call-chain handle for a method, constructor or destructor, and which is called when you invoke the method. The call chain is then fixed for the life of the invocation of of the method; TclOOInvokeContext (the other major function in this area) then just walks the chain. TOGCC uses caches heavily, at all of the the object, class and Tcl_Obj method name levels.