[pypy-dev] How's the JIT coming along?
erik at medallia.com
Wed Aug 22 17:47:20 CEST 2007
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
code, and invalidate when a dependency changes. You can get away with
checks at relatively few points, and you can also insert traps for
to objects which will (possibly) shadow compiled dependencies.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1962 bytes
Desc: not available
More information about the Pypy-dev