A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-February/019838.html below:

[Python-Dev] Mixing memory management APIs

[Python-Dev] Mixing memory management APIs [Python-Dev] Mixing memory management APIsM.-A. Lemburg mal@lemburg.com
Thu, 07 Feb 2002 12:52:38 +0100
Michael Hudson wrote:
> 
> > >>I've checked in a patch for the UTF-8 codec problem. Could you
> > >>try Purify against the CVS version ?
> > >>
> > >
> > > with-pymalloc or without or both?
> >
> >
> > Both if possible -- the leakage showed up with pymalloc AFAIR :-)
> 
> I thought we were chasing memory stomping, not leaking, this time
> around...

Both, I guess: pymalloc doesn't behave well with overallocation
and codecs use this technique a lot. I reduced the overallocation 
in the UTF-8 encoder down from 3*size to 2*size which should
cover the most common cases better than before.

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Company & Consulting:                           http://www.egenix.com/
Python Software:                   http://www.egenix.com/files/python/



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4