var A: TMtxInt;
begin
A := TMtxInt.Create;
try
A.Size(20,20);
finally
A.Free; // takes about 500 CPU cycles
end;
CreateIt(A);
try
A.Size(20,20,false);
finally
FreeIt(A); // takes only about 40 CPU cycles
end;
end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.