mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/zlib/zlib.c: Restored the comment explaining the choice of
buffer expansion size. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
db0126b609
commit
cda2bf5568
1 changed files with 1 additions and 0 deletions
|
@ -554,6 +554,7 @@ struct zstream {
|
|||
/* 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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue