[fpc-pascal] Dynamic arrays using management operators

Ryan Joseph ryan at thealchemistguild.com
Mon Jun 4 16:45:43 CEST 2018



> On Jun 4, 2018, at 9:21 PM, Martin Schreiber <mse00000 at gmail.com> wrote:
> 
> It seems that the inclocked()/declocked() operations completely destroy the 
> performance of the OP's application (which I find strange) so he never want 
> to touch dynamic arrays anymore as he wrote.

It was one hyper sensitive part of a sorting algorithm and it may have been a bug for all I know but it was less work to replace dynamic arrays with GetMem/FreeMem and get on with the day.

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list