Commit Graph

36 Commits (85bd352bc1e21ca17b799093511ad84c846f728e)

Author SHA1 Message Date
ghost 8da0a53845 properly propagate Reader errors
5 years ago
Darien Raymond db5259e75b
avoid heap allocation for buffer variables
6 years ago
Darien Raymond a20262ef20
allocate buffer on stack
6 years ago
Darien Raymond 6c7dcc35ab
remove buffer.WriteBytes
6 years ago
Darien Raymond ff7e5a7cdb
benchmark mux frame
6 years ago
Darien Raymond f7b96507f9
simplify buffer extension
6 years ago
Darien Raymond 58e2ed3381
remove closure on ReadFullFrom
6 years ago
Darien Raymond 2621305413
more test cases
6 years ago
Darien Raymond cfe7e7843b
shortcut the free operation too
6 years ago
Darien Raymond ff0b0b1640
GetPool() API
6 years ago
Darien Raymond b3b0649dd6
check size in Reset
6 years ago
Darien Raymond fdb3a7b57d
remove use of buf.NewSize()
6 years ago
Darien Raymond 206f52affc
refine buffer interface
6 years ago
Darien Raymond 3997d13b97
rename Slice and Slice from to Resize and Advance
7 years ago
Darien Raymond 1425fd2ba9
remove Buffer.Append method
7 years ago
Darien Raymond 27ccc9d726
comments
7 years ago
Darien Raymond c5bd23105e
change uint32 to int32
7 years ago
Darien Raymond 08dab81eb2
migrate int to int32
7 years ago
Jinqiu Yu eb38f4865e Fix another typo
7 years ago
Darien Raymond b4e1240160
comments
7 years ago
Darien Raymond 5bbece14af
simplify pool creation
7 years ago
Darien Raymond 34c12c1af6
extend buffer
7 years ago
Darien Raymond 931c8597ca
fix len -> cap
7 years ago
Darien Raymond 994aecd13c
rename NewLocal to NewSize
7 years ago
Darien Raymond f97e6fa3d2
refine buffer allocation
7 years ago
Darien Raymond eaf043f1b3
reduce memory usage of Buffer
7 years ago
Darien Raymond 7f1e9c85c9
more effecient auth reader and writer
8 years ago
Darien Raymond 0ebebfa458
cleanup
8 years ago
Darien Raymond b1dfff2fdd
remove 8k buffer pool
8 years ago
Darien Raymond cb0e29ccdb
merging reader
8 years ago
Darien Raymond 020b436827
merge bufio into buf
8 years ago
Darien Raymond a44d556667
test case for tls connection
8 years ago
Darien Raymond ceaf5d1178
fix lint warnings
8 years ago
Darien Raymond ff87377acf
comments
8 years ago
Darien Raymond 055023fdd5
refactor buffer
8 years ago
Darien Raymond 7a80409e30
rename alloc to buf
8 years ago