[Python-Dev] Re: Activating pymalloc
Andrew MacIntyre
andymac@bullseye.apana.org.au
2002年3月20日 07:58:29 +1000 (est)
On 2002年3月18日, Tim Peters wrote:
> [Tim]
> > Lots of people have reported modest speedups in non-pathological
> > programs too (except on OS/2 EMX, or something like that).
>> [Andrew MacIntyre]
> > It works just fine when pymalloc is configured normally (~2% speedup).
>> When running what?
pystone.py, MAL's PyBench - nothing real world though...
> > The performance hit came when I changed all interpreter memory
> > management to pymalloc.... (to deal with a pathological case in the
> > parser)
>> I'm not sure what that means. Rather than try to explain it (trust me: it
> won't work <wink>), if you post a patch attached to a bug report on
> SourceForge, we can see whether the same is true on other boxes.
I did post the patch to python-dev at the time; but it'll have to be
redone in light of recent changes.
test_longexp was the pathological case.
--
Andrew I MacIntyre "These thoughts are mine alone..."
E-mail: andymac@bullseye.apana.org.au | Snail: PO Box 370
andymac@pcug.org.au | Belconnen ACT 2616
Web: http://www.andymac.org/ | Australia