Re: String Cache

2012-08-11 Thread Derek Atkins
Hi, On Sat, August 11, 2012 3:34 pm, John Ralls wrote: > 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 cac

String Cache

2012-08-11 Thread John Ralls
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

QOF API and gnucash string cache code in G2

2005-10-20 Thread Neil Williams
On Friday 14 October 2005 1:54 pm, David Hampton wrote: > Log Message: > --- > Patch from Chris Shoemaker to privatize the gnucash string cache code > and force all usage through gnc_string_cache_{remove,insert}() > functions. This makes debugging various uses (and misuses)