String Cache

John Ralls jralls at ceridwen.us
Sat Aug 11 15:34:23 EDT 2012


There's a feature called qof_util_string_cache which is based on GLib's GCache facility, deprecated in Glib-2.32. It's fairly trivial to rewrite to use GHashTable, but it occurs to me that it's a bit stupid to incur the overhead of caching string constants. It's not like they use a lot of memory.

Comments?

Regards,
John Ralls




More information about the gnucash-devel mailing list