This simple patch provides a nice speedup without any visual side effect.

Comments? Objection?

Abdel.
Index: unicode.C
===================================================================
--- unicode.C   (revision 14849)
+++ unicode.C   (working copy)
@@ -49,7 +49,7 @@
 
        char ICONV_CONST * inbuf = const_cast<char ICONV_CONST *>(&buf[0]);
        size_t inbytesleft = buf.size();
-       char out[1000] = { 0 };
+       static char out[1000];
        char * outbuf = out;
        size_t outbytesleft = 1000;
 

Reply via email to