Hi,
Rene W. Olsen wrote:
Ohh okey, but isent it a really big chance it fails?
Yes. The thing is, a "normal" realloc (i.e. allocate a new block and copy) is simple to do. Hoewever, resizing the block isn't.
if yes, I have to make my own realloc that moves it every time.
I'd recommend that, anyway. In the current system ReallocVec is still a bit broken.
Regards,