[Python-Dev] Minor compilation problem on HP-UX (1.6b1) (fwd)
Jack Jansen
jack@oratrix.nl
Mon, 07 Aug 2000 14:27:59 +0200
> + #ifdef __hpux
> + mallopt (M_MXFAST, 512);
> + #endif /* __hpux */
> +
After reading this I went off and actually _read_ the mallopt manpage for the
first time in my life, and it seems there's quite a few parameters there we
might want to experiment with. Besides the M_MXFAST there's also M_GRAIN,
M_BLKSIZ, M_MXCHK and M_FREEHD that could have significant impact on Python
performance. I know that all the tweaks and tricks I did in the MacPython
malloc implementation resulted in a speedup of 20% or more (including the
cache-aligment code in dictobject.c).
--
Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm