glib/gobject
Benjamin Otte e46332dc49 gobject: Speed up g_type_from_name()
The hash table used exclusively for looking up types by name used to map
quarks => types. But we can easily make it map strings => types, which
avoids the quark lookup. And that in trun avoids taking a lock and
consulting another hash table. So this change should make
g_type_from_name() roughly twice as fast.
2011-05-20 23:41:46 -04:00
..
2011-03-04 12:47:22 -05:00
2010-07-12 15:33:05 -04:00
2009-03-31 19:39:16 -04:00
2011-02-07 23:46:02 -05:00
2010-11-08 18:21:51 -05:00
2010-02-04 00:12:50 +02:00
2010-12-27 22:08:07 +01:00
2010-12-27 22:08:07 +01:00
2010-07-12 17:46:17 -04:00
2010-10-12 21:34:26 -04:00
2011-05-20 23:41:46 -04:00
2011-03-04 12:47:16 -05:00
2008-06-21 18:20:43 +00:00
2011-03-04 12:47:16 -05:00
2008-06-22 09:45:13 +00:00
2010-07-12 17:46:17 -04:00
2010-06-19 19:07:36 +02:00