[fpc-devel] Faster InitObject

Hans-Peter Diettrich DrDiettrich1 at aol.com
Fri Feb 24 13:40:30 CET 2012


Alexander Shishkin schrieb:

> You also may refactor your class and define array as a pointer to array 
> (dont use dynamic array - they are zero initialized) and manage memory 
> manually ( [Get|Realloc|Free]Mem ).

IMO dynamic arrays are not initialized, at least not in Delphi. Only the 
pointer is initialized (to Nil).

DoDi




More information about the fpc-devel mailing list