From 1a67af25185515c813771b8f9e4d9efb020e9056 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 29 Sep 2009 15:07:00 +0200 Subject: [PATCH] Optimize wrbuf_iconv_write. Use bigger temporary conversion buffer for wrbut_iconv_write.. This increases performance a bit. --- src/wrbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wrbuf.c b/src/wrbuf.c index 9322f90..af5fb28 100644 --- a/src/wrbuf.c +++ b/src/wrbuf.c @@ -163,7 +163,7 @@ static int wrbuf_iconv_write_x(WRBUF b, yaz_iconv_t cd, const char *buf, { if (cd) { - char outbuf[16]; + char outbuf[128]; size_t inbytesleft = size; const char *inp = buf; while (inbytesleft) -- 1.7.10.4