[evolution-patches] Removed some members from CamelObject (Was: EMemChunk replacement in CamelException)



On Thu, 2006-10-19 at 16:17 +0200, Philip Van Hoof wrote:
> A tracker bug for these replacements is here:
> 
> http://bugzilla.gnome.org/show_bug.cgi?id=363156
> 
> A ChangeLog will be appended to the combined patch once most/all
> replacements are finished.

This once actually reduces memory usage a little bit (removing pointers
from an often instantiated type's struct).

It has been added to the tracker bug too.

-- 
Philip Van Hoof, software developer
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
work: vanhoof at x-tend dot be
blog: http://pvanhoof.be/blog
--- /home/pvanhoof/repos/gnome/cvs/evolution-data-server/camel/camel-object.h	2005-08-31 06:21:56.000000000 +0200
+++ camel-object.h	2006-10-19 16:18:45.000000000 +0200
@@ -155,12 +155,6 @@
 	/* available hooks for this class */
 	struct _CamelHookPair *hooks;
 
-	/* memchunks for this type */
-	struct _EMemChunk *instance_chunks;
-#ifdef CAMEL_OBJECT_TRACK_INSTANCES
-	struct _CamelObject *instances;
-#endif
-
 	/* init class */
 	void (*klass_init)(struct _CamelObjectClass *);
 	void (*klass_finalise)(struct _CamelObjectClass *);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]