projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe70606
)
Optimize wrbuf_iconv_write.
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 29 Sep 2009 13:07:00 +0000
(15:07 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 29 Sep 2009 13:07:00 +0000
(15:07 +0200)
Use bigger temporary conversion buffer for wrbut_iconv_write.. This
increases performance a bit.
src/wrbuf.c
patch
|
blob
|
history
diff --git
a/src/wrbuf.c
b/src/wrbuf.c
index
9322f90
..
af5fb28
100644
(file)
--- 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)