Commit Graph

227 Commits (c89183e6b39c22ab9ead9ad69b8c4600df684d54)

Author SHA1 Message Date
Darien Raymond c49b93b39e
simplify buffer allocation
6 years ago
Darien Raymond 0f63be6340
open ReadBuffer for quic connections
6 years ago
Darien Raymond 3340f81d03
fix reader/writer for packet conn
6 years ago
Darien Raymond e392f8ed3d
use WriteByte instead of copy
6 years ago
Darien Raymond 844f6937a4
reduce memory consumption on readOne
6 years ago
Darien Raymond 83c4b20b6e
fix lint warnings
6 years ago
Darien Raymond b1b8cb5ef5
Fix SplitSize
6 years ago
Darien Raymond 5c4e33f759
rewrite SliceBySize
6 years ago
Darien Raymond bcd5d026fe
rewrite SplitFirst
6 years ago
Darien Raymond cb7646f682
remove unnecessary err object from SplitBytes
6 years ago
Darien Raymond 842a089dad
refactor multibuffer
6 years ago
Darien Raymond 0f324a613e
remove MultiBuffer.Release
6 years ago
Darien Raymond 27772a75a7
refactor MultiBuffer append
6 years ago
Darien Raymond 48cac1733f
remove NewMultiBufferCap
6 years ago
Darien Raymond a01fdc29a6
remove NewMultiBufferValue
6 years ago
Darien Raymond db5259e75b
avoid heap allocation for buffer variables
6 years ago
Darien Raymond deebb68597
update buf test
6 years ago
Darien Raymond a20262ef20
allocate buffer on stack
6 years ago
Darien Raymond a5ed9e00ab
revert opt on copy
6 years ago
Darien Raymond 6d770d6f30
remove unused members
6 years ago
Darien Raymond 9bc6a5813e
improve performance on copy
6 years ago
Darien Raymond 0fd7e9216a
fix test break
6 years ago
Darien Raymond ac4f868078
introduce go-cmp
6 years ago
Darien Raymond 6c7dcc35ab
remove buffer.WriteBytes
6 years ago
Darien Raymond ff7e5a7cdb
benchmark mux frame
6 years ago
Darien Raymond a14fae4b35
fix lint warnings
6 years ago
Darien Raymond f7b96507f9
simplify buffer extension
6 years ago
Darien Raymond 58e2ed3381
remove closure on ReadFullFrom
6 years ago
Darien Raymond e7345f079e
comments
6 years ago
Darien Raymond de4072a65a
more test cases
6 years ago
Darien Raymond 2621305413
more test cases
6 years ago
Darien Raymond c8e11595f2
update interface test
6 years ago
Darien Raymond c7f847c96e
categorize read and write error
6 years ago
Darien Raymond 091fa6ad23
use new errorgen
6 years ago
Darien Raymond d55fbd7f8d
simplify error creation
6 years ago
Darien Raymond cfe7e7843b
shortcut the free operation too
6 years ago
Darien Raymond ff0b0b1640
GetPool() API
6 years ago
Darien Raymond 2f6a0d539d
dont write out empty payload
6 years ago
Darien Raymond b3b0649dd6
check size in Reset
6 years ago
Darien Raymond 834dc4ab7c
remove references after content is written
6 years ago
Darien Raymond 5c48d03fdf
revert rollback to 10.3
6 years ago
Darien Raymond 7053293347
fix sync issue in buffered writer
6 years ago
Darien Raymond f1374f9caf
add !wasm flag for go 1.10
6 years ago
Darien Raymond 0067d3c80f
temporarily rollback to go 1.10
6 years ago
Darien Raymond 0b388280ce
simplify writing
6 years ago
Darien Raymond 09824b9b1a
don't release buffer as it is written
6 years ago
Darien Raymond 20f10c78b3
add support for wasm
6 years ago
Darien Raymond b4d065610a
fix windows reader
6 years ago
Darien Raymond 7c9c66601e
print error
6 years ago
Darien Raymond 5baf839fcf
trace readv test
6 years ago