Y
Hacker News
new
|
ask
|
show
|
jobs
by
fnbr
1315 days ago
When the array is resized, it’s moved to a new contiguous block of memory: everything is copied or moved over. See:
https://stackoverflow.com/questions/8261037/what-happen-to-p...