[postgis-devel] Another question

strk strk at keybit.net
Thu Nov 19 07:57:12 PST 2009


On Wed, Nov 18, 2009 at 10:26:26AM +0100, Nicklas Avén wrote:
> I didn't know about realloc. Does that move everything to a larger array
> or does it link the arrays in some way? 

Tries to allocate a larger contiguos block it it can.
If it can't (next block is taken already) it allocates elsewhere
and copies what's already set.

--strk; 

 Free GIS & Flash consultant/developer      ()  ASCII Ribbon Campaign
 http://foo.keybit.net/~strk/services.html  /\  Keep it simple! 



More information about the postgis-devel mailing list