[fpc-pascal] Question about Deleting elements in Dynamic Array

Henry Vermaak henry.vermaak at gmail.com
Wed Apr 28 10:21:44 CEST 2010


On 28 April 2010 04:24, Bihar Anwar <bihar_anwar at rocketmail.com> wrote:
> Ok, I'll try to observe the compiled code using debugger and benchmark it if needed. BTW, what do you mean by allocating memory directly? Is there another way to allocate memory for dynamic array besides using SetLength()?

I meant using allocmem, reallocmem, and friends, but that's tricky and
bug-prone.  And I can't see that it's going to give a massive speed
increase.

Henry



More information about the fpc-pascal mailing list