nit: clean batch capacity #17

Merged
brianmcgee merged 1 commits from clean-capacity into main 2024-01-03 10:39:56 +00:00

View File

@ -110,8 +110,7 @@ func (f *Format) Run() error {
// update cache as paths are completed
eg.Go(func() error {
batchSize := 1024
batch := make([]string, batchSize)
batch = batch[:0]
batch := make([]string, 0, batchSize)
var pending, completed, changes int