Negative array indicies and slice()

Ian Kelly ian.g.kelly at gmail.com
Mon Oct 29 20:05:27 EDT 2012


On Mon, Oct 29, 2012 at 5:43 PM, Ian Kelly <ian.g.kelly at gmail.com> wrote:
> The growth factor is approximately 1.125.  "Approximately" because
> there is also a small constant term.  The average number of copies per
> item converges on 8.

Of course, that is the *maximum* number of copies.  The actual number
could be much less if realloc() performs well.



More information about the Python-list mailing list