> On Apr 4, 2017, at 7:17 PM, Sven Barth via fpc-pascal 
> <fpc-pascal@lists.freepascal.org> wrote:
> 
> If you want continuous memory areas you need to use static arrays or develop 
> your own dynamic data structure that uses array properties.
> 
> 

I’m glad I asked because of arrays of pointers is bad news for performance. 
Does SetLength on a single level dynamic array not even allocate a continuous 
block of memory? I could use GetMem and array[0..0] but it seems like dynamic 
arrays should do basically that anyways if they’re not nested.

Regards,
        Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to