bitswap: preallocate peers array on bitswap stat
Avoids lots of reallocations under a lock.
License: MIT
Signed-off-by:
Steven Allen <steven@stebalien.com>
正在显示
请
注册
或者
登录
后发表评论
Avoids lots of reallocations under a lock.
License: MIT
Signed-off-by:
Steven Allen <steven@stebalien.com>