C API: Change immutable objects? :-o
mwh at python.net
Sat Aug 3 11:01:00 EDT 2002
Skip Montanaro <skip at pobox.com> writes:
> Michael> Are you running a version of Python compiled with pymalloc?
> Michael> Because I believe that fairly recent changes have wrought
> Michael> significant gains in performance when working with large
> Michael> numbers of small objects.
> If I read the recent thread on python-dev correctly, there is about a 25%
> improvement in performance of current CVS over 2.2.1,
On pybench -- dunno if that translates to a 25% performance
improvement for the mythical "typical Python application".
> largely due to pymalloc.
That's just a presumption -- unless someone has done a
--without-pymalloc build to check recently -- but a likely one.
Premature optimization is the root of all evil.
-- Donald E. Knuth, Structured Programming with goto Statements
More information about the Python-list