[Tutor] python list, right! but concretely?
spir ☣
denis.spir at gmail.com
Mon May 3 12:13:44 CEST 2010
On Mon, 3 May 2010 00:58:14 +0100
"Alan Gauld" <alan.gauld at btinternet.com> wrote:
>
> "spir ☣" <denis.spir at gmail.com> wrote
>
> > ...When writing "size = size + new_allocated" instead of
> > "size = new_allocated", It get a growth pattern of:
> > 0 3 6 9 16 24 33 43 54 66 80 96 114
> > Which is not exactly what is stated in code, but rather similar...
>
> You mean like this line in the source?:
>
> new_allocated += newsize;
>
> Alan G.
No, sorry, I meant the comment listing the "growth pattern".
Denis
________________________________
vit esse estrany ☣
spir.wikidot.com
More information about the Tutor
mailing list