[fpc-pascal] Feature announcement: Dynamic array extensions
Ryan Joseph
ryan at thealchemistguild.com
Fri May 25 12:13:47 CEST 2018
> On May 25, 2018, at 3:57 PM, Sven Barth via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>
> If I had to guess you were probably doing something with the arrays they weren't designed for. :/
>
It’s a little foggy now but I think I had a dynamic array in a class which was being passed around some functions or the class (with the dynamic array) was in a record which was being passed around some functions. I think this was happening within tight loops also.
Bottom line is if the that thread lock function does anything expensive then passing around dynamic arrays within tight loops could be a deal breaker unless you could manually declare a dynamic array as not thread safe.
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list