Export to GitHub

ironclad - issue #9

Idiotic list reallocation strategy


Posted on Jan 28, 2009 by Swift Camel

If an extension were to start with an empty list, and repeatedly PyList_Append to it, we would waste an awful lot of time reallocating memory. CPython does it much better.

Comment #1

Posted on Oct 22, 2009 by Swift Camel

Note: we should probably try to use the cpy list type throughout, which would make this a non-issue

Status: Accepted

Labels:
Type-Defect Priority-Medium