From 329fc5da74317d5a2818a305176dcea9c9f8a9a0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 15 Aug 2005 03:52:34 +0000 Subject: Store only one copy of the pixel data for symlinked icons. To achieve 2005-08-14 Matthias Clasen * gtk/updateiconcache.c: Store only one copy of the pixel data for symlinked icons. To achieve this, maintain a hashtable mapping pathnames to pixel data, and share the pixel data for all symlinks resolving to the same pathname. When writing out the image data, write out the pixel data only the first time it is met, and store the offset pointing to the first copy for use in all later cases. This reduces the size of the Bluecurve icon cache from 40 to 13MB. (#312972) --- ChangeLog.pre-2-8 | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ChangeLog.pre-2-8') diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index af6d34e24..926eb7137 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,15 @@ +2005-08-14 Matthias Clasen + + * gtk/updateiconcache.c: Store only one copy of the pixel data + for symlinked icons. To achieve this, maintain a hashtable + mapping pathnames to pixel data, and share the pixel data for + all symlinks resolving to the same pathname. When writing out + the image data, write out the pixel data only the first time + it is met, and store the offset pointing to the first copy + for use in all later cases. + This reduces the size of the Bluecurve icon cache from 40 + to 13MB. (#312972) + 2005-08-13 Matthias Clasen * configure.in: Bump version -- cgit v1.2.1