On Tue, 2006-02-14 at 19:40 +0100, Philip Van Hoof wrote: > On Tue, 2006-02-14 at 13:02 -0500, Lee Revell wrote:
> I measured it ;-) > > 10.000 E-mails used +-8MB of memory. Correction. The uids don't use that many memory. You can more easily measure this by assuming that the largest uid-size is "9999\0" so 5 bytes multiplied by 10.000 gives you 50.000 bytes. Nevertheless that doesn't take away the fact that you can't get the uids in a sorted way, and that evolution loads all CamelMessageInfo instances By the way ... tinymail loads evolution's hackers mailing list using 3 megabytes (measured with valgrind). The most important object to create a proxy instance for is the CamelFolder. Try to avoid keeping the references coming from camel_store_get_folder. Because tinymails design is heavily based on the proxy design pattern, I managed to cut 12 megabytes of CamelFolder instances. -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be _______________________________________________ Evolution-hackers mailing list [email protected] http://mail.gnome.org/mailman/listinfo/evolution-hackers
