[Python-Dev] [ANN] VPython 0.1 (original) (raw)
Gregory P. Smith greg at krypto.org
Sat Nov 1 22:32:05 CET 2008
- Previous message: [Python-Dev] Fwd: Removal of GIL through refcounting removal.
- Next message: [Python-Dev] My patches
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Oct 24, 2008 at 12:53 AM, J. Sievers <cadr4u at gmail.com> wrote:
"M.-A. Lemburg" <mal at egenix.com> writes:
[snip] BTW: I hope you did not use pybench to get profiles of the opcodes. That would most certainly result in good results for pybench, but less good ones for general applications such as Django or Zope/Plone. Algorithm used for superinstruction selection: 1) idea: LOADCONST/LOADFAST + some suffix 2) potential suffixes: $ grep '..(..--..*)$' ceval.vmg | grep 'a1 a2 --' > INSTRUCTIONS 3) delete any instruction that I felt wouldn't be particularly frequent from INSTRUCTIONS (e.g. raisevarargs) 4) use awk to generate superinstruction definitions Not only is this relatively unbiased but also very low effort. -jakob
Thanks Jakob. I'm glad to see that you've done this. I had been hoping to see super instructions tried on the python VM for years but never found the time to do it myself.
-gps
- Previous message: [Python-Dev] Fwd: Removal of GIL through refcounting removal.
- Next message: [Python-Dev] My patches
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]