From 1d1646f3738b50777b8a13e8724a0270036f7dae Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Fri, 11 Aug 2006 15:42:30 +0200 Subject: [PATCH] Changed the initialize size of the IO buffer to 0. It will be resized at every access anyway. It would be nice if we could have a static buffer, but Ruby's API doesn't allow it atm. --- ext/ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/ext.c b/ext/ext.c index 99eefbe..eed0e65 100644 --- a/ext/ext.c +++ b/ext/ext.c @@ -277,6 +277,6 @@ Init_vorbistagger_ext (void) cComments = Init_Comments (mVorbis); - io_buf = rb_str_buf_new (BUFSIZ); + io_buf = rb_str_buf_new (0); rb_global_variable (&io_buf); } -- 2.30.2