preallocate Batch's blocks buffer on commit.
It's probably safe to assume that this buffer will be about the same time each
flush.
This could cause 1 extra allocation (if this is the last commit) but that's
unlikely to be an issue.
License: MIT
Signed-off-by:
Steven Allen <steven@stebalien.com>
正在显示
请
注册
或者
登录
后发表评论