mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 00:47:28 +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.
|
// The zero value is not usable until Reset is called.
|
||||||
type Reader struct {
|
type Reader struct {
|
||||||
buf [4096]byte
|
buf [65536]byte
|
||||||
i, j uint32
|
i, j uint32
|
||||||
r io.Reader
|
r io.Reader
|
||||||
|
|
||||||
@@ -315,7 +315,7 @@ func (c *WriterRecycler) Close() error {
|
|||||||
//
|
//
|
||||||
// The zero value is not usable until Reset is called.
|
// The zero value is not usable until Reset is called.
|
||||||
type Writer struct {
|
type Writer struct {
|
||||||
buf [4096]byte
|
buf [65536]byte
|
||||||
j uint32
|
j uint32
|
||||||
w io.Writer
|
w io.Writer
|
||||||
level compression.Level
|
level compression.Level
|
||||||
|
|||||||
Reference in new issue
Block a user