code icon indicating copy to clipboard operation
code copied to clipboard

fix(ch2-mandelbrot): exchange row and rows initial capacity

Open clamyang opened this issue 3 years ago • 1 comments

init rows with height, init row with width.

clamyang avatar Nov 18 '22 14:11 clamyang

if we init rows with width and row with height, we can't avoid vector resize. But we can avoid this if we exchange this two initial value.

clamyang avatar Nov 18 '22 14:11 clamyang