[sugar] Removing docstrings

Tomeu Vizoso tomeu at tomeuvizoso.net
Tue Aug 26 13:00:22 EDT 2008


On Tue, Aug 26, 2008 at 5:08 PM, C. Scott Ananian <cscott at laptop.org> wrote:
>
> Other than that, seems to work.  I could still use some help doing
> some measurements to quantify the improvement (if any), since most of
> my day today will probably be spent on build-related issues.

Anybody with python knowledge can comment on this? Would have expected
a significantly smaller number of objects in the GC:

tomeu at tomeu-laptop:~/sugar-jhbuild/source/sugar$ python
Python 2.5.2 (r252:60911, May  7 2008, 15:19:09)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gc
>>> len(gc.get_objects())
2508
>>> import gtk
>>> len(gc.get_objects())
12272

tomeu at tomeu-laptop:~$ python -OO
Python 2.5.2 (r252:60911, May  7 2008, 15:19:09)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gc
>>> len(gc.get_objects())
2506
>>> import gtk
>>> len(gc.get_objects())
12270


Thanks,

Tomeu


More information about the Sugar mailing list