If you change the size of an array, references are always lost.
/ Martin Nilsson (DivX Networks)
Previous text:
2004-09-10 01:44: Subject: growing arrays (was: array.c)
how does one resize an array on the pike level? when i append to an array (+=) then the array is essentially copied, which means a new array is created and references are broken. that doesn't look like resizing to me (although it might be at the c level)
where does resize_array come into effect?
greetings, martin.
/ Brevbäraren