On Mon, 2005-08-08 at 17:05 -0400, [EMAIL PROTECTED] wrote: > I would guess that the reason caching was needed to begin with > was because of crazy code like (from g_utf8_collate)... > > gchar *str1_locale = g_convert (str1_norm, -1, charset, "UTF-8", NULL, > NULL, NULL); > gchar *str2_locale = g_convert (str2_norm, -1, charset, "UTF-8", NULL, > NULL, NULL); > > where "charset" is from g_get_charset, i.e., in practice it never > changes. > > Just keeping a single iconv around here for this would do wonders > for efficiency. (Similar code is found in g_utf8_collate_key.) >
Thanks for pointing that out. If you have a chance, I would still be interested in answers to the two questions in my previous mail. Matthias _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list