diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-01-29 18:25:45 +0000 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-01-29 18:25:45 +0000 |
commit | 0751448ad700aaa394ec80ad150c92dd5cc75a9e (patch) | |
tree | 4f887abad2ab439cfb1f8f7c52d8d814eebadb56 /ChangeLog.pre-2-6 | |
parent | 5a7cf7fa60e006526f809241ef9f8c7d53383575 (diff) |
Rewritten to cache iconv conversion descriptors. On at least some Unix
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
* glib/gconvert.c (open_converter): Rewritten to cache iconv
conversion descriptors. On at least some Unix systems like
Solaris, iconv_open() must dlopen the necessary charset modules in
order to setup the descriptor. This can take a major toll on
performace if you are constantly opening and closing conversion
descriptors for the same charset conversions over and over.
(g_convert_with_fallback): Use close_converter() rather than
g_iconv_close() since open_converter() now caches iconv
descriptors.
Diffstat (limited to 'ChangeLog.pre-2-6')
-rw-r--r-- | ChangeLog.pre-2-6 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index d61b88211..5982f5f4c 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,15 @@ +2002-01-21 Jeffrey Stedfast <fejj@ximian.com> + + * glib/gconvert.c (open_converter): Rewritten to cache iconv + conversion descriptors. On at least some Unix systems like + Solaris, iconv_open() must dlopen the necessary charset modules in + order to setup the descriptor. This can take a major toll on + performace if you are constantly opening and closing conversion + descriptors for the same charset conversions over and over. + (g_convert_with_fallback): Use close_converter() rather than + g_iconv_close() since open_converter() now caches iconv + descriptors. + Tue Jan 29 11:18:44 2002 Owen Taylor <otaylor@redhat.com> * 1.3.13 |