[pypy-dev] relative occurency of opcodes
Armin Rigo
arigo at tunes.org
Wed Jun 18 17:30:15 CEST 2008
Hi Maciej,
On Wed, Jun 18, 2008 at 04:38:29AM +0200, Maciej Fijalkowski wrote:
> I just performed simple statistics on hacked pypy-c. It seems that
> some opcodes are very often repeated by something else. It might make
> sense to create some super opcodes which combine those two.
Someone did that for CPython already. This is where the PREDICT()
macros in Python/ceval.c come from - they are CPython's solution to the
same measures.
Armin
More information about the Pypy-dev
mailing list