I don't know where it's all going, but --nostamps reduces
memory usage by 75%. I'm at about 60 MB.

Plan?

Things that I think should be kept in memory:

a. sounds for all stamps visible in the selector
b. image data for the active stamp
c. icons for all stamps visible in the selector
d. icons for next-to-visible stamps

So when you scroll down, Tux Paint should load:

a. sounds for the two stamps just made visible
b. icons for the two stamps beyond that

The load_arbitrary function is lots of trouble.
It kind of enforces everything to be kept in memory.


_______________________________________________
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev

Reply via email to