Commit Graph

28 Commits (58530e692061b117b8f68a028362d4f67c50d326)

Author SHA1 Message Date
v2ray 308c40553c split BufferPool from buffer.go
9 years ago
v2ray be90c04deb prevent double release in buffer
9 years ago
v2ray be09847bbd buffered reader and writer
9 years ago
v2ray e47dd29ed1 more doc
9 years ago
v2ray edd02f7d3c format code
9 years ago
Darien Raymond 50007a9790 reduce number of preallocated buffers
9 years ago
v2ray d3ff2b3698 chunk stream in vmess
9 years ago
v2ray 6c7a9586d0 Save 1 allocation in shadowsocks
9 years ago
v2ray 97a85f04ce Buffer.Prepend()
9 years ago
Darien Raymond 008c285324 move transport methods from net to io
9 years ago
v2ray 06b92bddcf authenticator
9 years ago
v2ray dde3f60e30 udp for shadowsocks
9 years ago
v2ray e0b56528fc leverage sync.Pool for allocation boost
9 years ago
v2ray 89175198ee remove unnecessary cleanup routine
9 years ago
Darien Raymond e6ad1d8518 format code
9 years ago
v2ray e2acec745c Add a bytes method to alloc.buffer
9 years ago
Darien Raymond 0a2e4343bc massive refactoring against unit test lib
9 years ago
V2Ray bbc41c5e63 Increase small buffer pool
9 years ago
V2Ray 702aaacac3 More doc
9 years ago
V2Ray 2a85c62e14 Use large buffer if download size is huge
9 years ago
V2Ray 1652b3f7f0 Test case for buffer
9 years ago
V2Ray a77f62428a Use Buffer as a writer
9 years ago
V2Ray bf6898539b Buffer pool is mistakenly generate more buffers under normal situation.
9 years ago
V2Ray 746580d566 Use buffer in socks proxy
9 years ago
V2Ray 3cb1951dfc Use []byte in pool instead of buffer
9 years ago
V2Ray 472cf7f523 Remove commented code
9 years ago
V2Ray 5b7fa17aa6 Change buffer recycling schedule
9 years ago
V2Ray 9ee73c4f6b Maintain an internal buffer pool to accelerate allocation
9 years ago