| 名称 |
最后提交
|
最后更新 |
|---|---|---|
| .. | ||
| init-doc | ||
| README.md | ||
| assets.go | ||
| assets_test.go | ||
| bindata.go |
Turns out that `pool.Put(buf)` had to *allocate* because we needed to turn
`[]byte` into `interface{}`. Apparently, we've never done this correctly we just
never noticed because we never really used buffer pools extensively.
However, since migrating yamux to a buffer-pool backed buffer, this started
showing up in allocation profiles.
License: MIT
Signed-off-by:
Steven Allen <steven@stebalien.com>
| 名称 |
最后提交
|
最后更新 |
|---|---|---|
| .. | ||
| init-doc | 正在载入提交数据... | |
| README.md | 正在载入提交数据... | |
| assets.go | 正在载入提交数据... | |
| assets_test.go | 正在载入提交数据... | |
| bindata.go | 正在载入提交数据... |