It's a little long for that, I was hoping people would request what is
relevant. Here's some pertinent snippets (again, this is all an experiment,
so it is not pretty).
jitdriver = JitDriver(greens=['pc', 'method'],
reds=['self'],
virtualizables=['self']
This would probably be easier if you showed us the code.
2011/9/17 Boris :
> Hi,
>
> I've been trying out writing my own interpreter using the PyPy framework
> recently, as a bit of fun. I've been trying to get the JIT to optimize a
> trivial loop down to the minimal amount of operations. With jud
Hi,
I've been trying out writing my own interpreter using the PyPy framework
recently, as a bit of fun. I've been trying to get the JIT to optimize a
trivial loop down to the minimal amount of operations. With judicious use of
`_immutable_fields_` and `_virtualizable2_`, I've got pretty close.
Bu