[issue14325] Stop using the garbage collector to manage the lifetime of the getargs.c freelist

Jean-Paul Calderone report at bugs.python.org
Thu Mar 15 19:22:40 CET 2012


New submission from Jean-Paul Calderone <invalid at example.invalid>:

Allocating a Python list and a bunch of Capsules for each PyArg_ParseTuple call is expensive and unnecessarily complicated.

The freelist never escapes getargs.c (if it ever did, it would be a bug).  The same job can be accomplished with a normal C array.

----------
assignee: exarkun
messages: 155926
nosy: exarkun
priority: normal
severity: normal
status: open
title: Stop using the garbage collector to manage the lifetime of the getargs.c freelist
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14325>
_______________________________________


More information about the Python-bugs-list mailing list