[comp.sys.amiga.programmer] ANSI realloc function

plummer@hercules.cs.uregina.ca (Dave Plummer) (06/03/91)

I've reached a point where I need the best of both worlds: a dynammically
allocated list that can be index addressable, but grow unbounded in size.
Just when I thought I would have to re-invent computer science, I remembered
a standard memory function, realloc, that should allow you to re-specify the
size of your memory block, keeping it at the same place (if possible) but
with a new size.  Has anyone played with this on the Amiga?  How well does
it work, and what is the speed penalty?  Since its an ANSI function, not
an Amiga function, do I have any control over where the memory is allocated
(ie: CHIP/FAST)?  

If you can, respond via Email, it's getting tough speed-reading this group!
Thanks,
Dave