On Aug 22, 2007, at 4:13 PM, Carl Friedrich Bolz wrote:
those inline checks are not enough in the Python case. You also need to check that the method A.foo was not changed in the meantime. But yes, in principle this is the idea. It works even better in the case of integer-handling functions, because the inlined operations can in many cases be implemented by processor opcodes.
Yes, and one way to do this is to keep a dependency graph for the compiled
code, and invalidate when a dependency changes. You can get away withchecks at relatively few points, and you can also insert traps for assignments
to objects which will (possibly) shadow compiled dependencies. -- Erik Gorset
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
