On Sep 19, 10:20 pm, dmharvey <dmhar...@cims.nyu.edu> wrote: > On Sep 19, 10:03 pm, Mitesh Patel <qed...@gmail.com> wrote: > > > Possibly very naive question: What happens to the times if you disable > > automatic garbage collection: > > > import gc > > gc.disable() > > > ? > > Interesting clue.... yes that gets rid of the increasing times. So do > you think the garbage collection has some kind of stupid quadratic > time algorithm?
Ah perhaps the garbage collector has to scan through all extant objects every now and then, looking for reference loops etc? So this would happen in ANY program that has large numbers of small objects lying around? I've never thought much about garbage collection before. david -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org