Commit Graph

23 Commits (2932d23b32755d00e2d7525f9c1b661c90f44e37)

Author SHA1 Message Date
Darien Raymond 50007a9790 reduce number of preallocated buffers 2016-02-02 10:52:23 +00:00
v2ray d3ff2b3698 chunk stream in vmess 2016-02-01 12:22:29 +01:00
v2ray 6c7a9586d0 Save 1 allocation in shadowsocks 2016-01-31 21:37:00 +01:00
v2ray 97a85f04ce Buffer.Prepend() 2016-01-31 21:24:40 +01:00
Darien Raymond 008c285324 move transport methods from net to io 2016-01-29 13:39:55 +00:00
v2ray 06b92bddcf authenticator 2016-01-29 10:57:52 +01:00
v2ray dde3f60e30 udp for shadowsocks 2016-01-28 21:30:05 +01:00
v2ray e0b56528fc leverage sync.Pool for allocation boost 2016-01-10 10:50:36 +01:00
v2ray 89175198ee remove unnecessary cleanup routine 2016-01-09 20:36:23 +01:00
Darien Raymond e6ad1d8518 format code 2016-01-04 14:16:52 +00:00
v2ray e2acec745c Add a bytes method to alloc.buffer 2015-12-15 00:53:27 +01:00
Darien Raymond 0a2e4343bc massive refactoring against unit test lib 2015-12-02 14:27:18 +00:00
V2Ray bbc41c5e63 Increase small buffer pool 2015-10-21 22:39:36 +02:00
V2Ray 702aaacac3 More doc 2015-10-11 14:46:12 +02:00
V2Ray 2a85c62e14 Use large buffer if download size is huge 2015-10-11 11:43:31 +02:00
V2Ray 1652b3f7f0 Test case for buffer 2015-10-10 22:15:10 +02:00
V2Ray a77f62428a Use Buffer as a writer 2015-10-10 20:52:13 +02:00
V2Ray bf6898539b Buffer pool is mistakenly generate more buffers under normal situation. 2015-10-10 16:50:55 +02:00
V2Ray 746580d566 Use buffer in socks proxy 2015-10-08 23:06:12 +02:00
V2Ray 3cb1951dfc Use []byte in pool instead of buffer 2015-10-08 17:41:38 +02:00
V2Ray 472cf7f523 Remove commented code 2015-10-08 15:53:32 +02:00
V2Ray 5b7fa17aa6 Change buffer recycling schedule 2015-10-08 15:28:22 +02:00
V2Ray 9ee73c4f6b Maintain an internal buffer pool to accelerate allocation 2015-10-08 14:46:18 +02:00