[Python-Dev] Memory management in the AST parser & compiler

Guido van Rossum guido at python.org
Mon Nov 28 21:14:41 CET 2005


On 11/18/05, Neil Schemenauer <nas at arctrix.com> wrote:
> Perhaps we should use the memory management technique that the rest
> of Python uses: reference counting.  I don't see why the AST
> structures couldn't be PyObjects.

Me neither. Adding yet another memory allocation scheme to Python's
already staggering number of memory allocation strategies sounds like
a bad idea.

--
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list