On Tue, 4 Apr 2006, ??? wrote:
Because of the copy-on-write mechanism. The reference count must be
checked each time you do a write. This is normal. It's the same in
Delphi, and a good reason for avoiding dynamic arrays.
You can use pointer arithmetics in FPC, it works as a dynam
> Because of the copy-on-write mechanism. The reference count must be
> checked each time you do a write. This is normal. It's the same in
> Delphi, and a good reason for avoiding dynamic arrays.
>
> You can use pointer arithmetics in FPC, it works as a dynamic array, but
> without the overhead.