3 ms·
>Maybe in a trivial program like this the backing array can always be extended in-place, In this example the backing array didn't get extended in-place. The fi
by Thorrez 5y ago
>Maybe in a trivial program like this the backing array can always be extended in-place,
In this example the backing array didn't get extended in-place. The first backing array starts at 0xc0000be000. After the append() call, there's a new backing array, which starts at 0xc0000b8030.