[Python-Dev] Adding pymalloc to the core (Benchmarking "fun" (was Re: Python 2.1 slower than 2.0))

Michael Hudson mwh21@cam.ac.uk
02 Feb 2001 12:39:08 +0000


Thomas Wouters <thomas@xs4all.net> writes:

> On Fri, Feb 02, 2001 at 12:24:32PM +0000, Michael Hudson wrote:
> 
> > > Anyone else for adding [pyobjmalloc] now on an opt-in basis ?
> 
> > Yes.  I also want to try adding it in and then scrapping the free list
> > management done by ints, frames, etc. and seeing if it this results in
> > any significant slowdown.  Don't have time for another mega-benchmark
> > just now though.
> 
> We could (and probably should) delay that for 2.2 anyway.

Uhh, yes.  I meant to say that too.  Must remember to finish my
posts...

> Make pymalloc default on, and do some standardized benchmarking on a
> number of different platforms, with and without the typespecific
> freelists.

Yes.  This will take time, but is worthwhile, IMHO.

Cheers,
M.

-- 
  C is not clean -- the language has _many_ gotchas and traps, and
  although its semantics are _simple_ in some sense, it is not any
  cleaner than the assembly-language design it is based on.
                                        -- Erik Naggum, comp.lang.lisp