Luca Olivetti via fpc-pascal <fpc-pascal@lists.freepascal.org> schrieb am
Fr., 9. Sep. 2022, 15:29:

> I don't know if it is more or less efficient than using a dynamic array
> but I think it's nicer.
>

It internally uses a dynamic array as well, but duplicates the size with
each growth and keeps track of a separate count of elements, thus resulting
in a better performance.

Regards,
Sven

>
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to