mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-17 16:32:11 +01:00
Increase lib/cgozstd buffer size from 4K to 64K
This commit is contained in:
1 parent
a108ec9742
commit
ecbfe8dbb3
1 file changed
+2
-2
@@ -161,7 +161,7 @@ func (c *ReaderRecycler) Close() error {
|
||||
//
|
||||
// The zero value is not usable until Reset is called.
|
||||
type Reader struct {
|
||||
buf [4096]byte
|
||||
buf [65536]byte
|
||||
i, j uint32
|
||||
r io.Reader
|
||||
|
||||
@@ -315,7 +315,7 @@ func (c *WriterRecycler) Close() error {
|
||||
//
|
||||
// The zero value is not usable until Reset is called.
|
||||
type Writer struct {
|
||||
buf [4096]byte
|
||||
buf [65536]byte
|
||||
j uint32
|
||||
w io.Writer
|
||||
level compression.Level
|
||||
|
||||
Reference in new issue
Block a user