Matthias Clasen be991170fa GHash: introduce a "set" mode
Make hash tables start out in a mode in which they don't store
values at all, until the first insertion of a non-identical
key-value pair.

This reduces memory requirements by 1/3 when using hash tables
to store sets.

Based on a patch by Morten Welinder,
https://bugzilla.gnome.org/show_bug.cgi?id=644437
2011-04-30 23:11:18 -04:00
..
2011-03-31 15:51:01 +05:30
2011-02-15 00:03:19 -05:00
2010-06-20 23:46:01 -04:00
2010-07-10 23:56:45 -04:00
2010-06-20 22:18:30 -04:00
2011-02-13 23:49:19 -05:00
2010-08-23 00:38:19 -04:00
2010-07-05 23:43:47 -04:00
2011-02-13 23:49:19 -05:00
2011-04-27 02:36:12 -04:00
2011-04-30 23:11:18 -04:00
2011-01-27 23:07:53 -05:00
2010-07-07 22:03:02 -04:00
2010-10-28 11:20:57 -04:00
2010-07-30 19:51:18 -04:00
2011-04-27 19:09:38 -04:00
2011-01-27 23:07:53 -05:00
2010-07-30 19:51:18 -04:00
2010-08-23 00:38:19 -04:00
2010-07-30 19:51:17 -04:00
2011-02-15 00:03:19 -05:00
2010-07-31 02:39:53 -04:00
2010-07-05 23:13:18 -04:00
2010-07-31 00:56:11 -04:00
2010-08-23 00:38:19 -04:00
2010-07-31 02:15:03 -04:00
2010-07-05 23:30:10 -04:00
2011-01-21 16:30:19 -05:00
2010-06-20 22:18:30 -04:00
2011-02-13 23:49:19 -05:00