Python IS slow ! [was] Re: Python too slow for real world

Tim Peters tim_one at email.msn.com
Thu May 6 22:30:52 EDT 1999


[various, about malloc/free performance]

[Christian Tismer]
> ...
> A malloc just for Python - would it need locking at all?
> Since the interpreter is locking already, I guess malloc
> would be always called in a safe way.

Right.  Note that Vladimir has already put a great deal of work into this
area; see

    http://starship.python.net/crew/vlad/pymalloc/

IIRC, paradoxically this yielded bigger speedups on non-Windows systems.

windows-vm-flushes-most-recently-used<0.9-wink>-ly y'rs  - tim






More information about the Python-list mailing list