"spir ☣" <[email protected]> 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.

_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to