Skip to content
  • Jeffrey Stedfast's avatar
    Rewritten to cache iconv conversion descriptors. On at least some Unix · 0751448a
    Jeffrey Stedfast authored
    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.
    0751448a
To find the state of this project's repository at the time of any of these versions, check out the tags.