Codebase list golang-github-vbauerster-mpb / 93d7757
start with cap 64 Vladimir Bauer 3 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
7272 func NewWithContext(ctx context.Context, options ...ContainerOption) *Progress {
7373 s := &pState{
7474 bHeap: priorityQueue{},
75 rows: make([]io.Reader, 0, 128),
76 pool: make([]*Bar, 0, 128),
75 rows: make([]io.Reader, 0, 64),
76 pool: make([]*Bar, 0, 64),
7777 rr: prr,
7878 queueBars: make(map[*Bar]*Bar),
7979 output: os.Stdout,