ruby-changes:24222
From: drbrain <ko1@a...>
Date: Tue, 3 Jul 2012 06:15:55 +0900 (JST)
Subject: [ruby-changes:24222] drbrain:r36273 (trunk): * ext/zlib/zlib.c: Restored the comment explaining the choice of
drbrain 2012-07-03 06:15:47 +0900 (Tue, 03 Jul 2012) New Revision: 36273 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36273 Log: * ext/zlib/zlib.c: Restored the comment explaining the choice of buffer expansion size. Modified files: trunk/ext/zlib/zlib.c Index: ext/zlib/zlib.c =================================================================== --- ext/zlib/zlib.c (revision 36272) +++ ext/zlib/zlib.c (revision 36273) @@ -554,6 +554,7 @@ /* I think that more better value should be found, but I gave up finding it. B) */ #define ZSTREAM_INITIAL_BUFSIZE 1024 +/* Allow a quick return when the thread is interrupted */ #define ZSTREAM_AVAIL_OUT_STEP_MAX 16384 #define ZSTREAM_AVAIL_OUT_STEP_MIN 2048 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/