[fpc-pascal] Array clearing

Ryan Joseph ryan at thealchemistguild.com
Sat Apr 1 10:35:13 CEST 2017


> On Apr 1, 2017, at 2:50 PM, Ryan Joseph <ryan at thealchemistguild.com> wrote:
> 
> Yeah, I was concerned with just compiler types or weakly retained classes where I’m just keeping the reference.

Another question. Is it more efficient/faster to reallocate a new array of the same size or call FillChar on the existing array?

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list