> On Jun 14, 2023, at 8:30 PM, Michael Van Canneyt via fpc-pascal 
> <fpc-pascal@lists.freepascal.org> wrote:
> 
> For parameters that are passed by value, the copying most likely will be
> slower since all bytes from the string must be copied to the new string.
> 
> For var parameters it should not matter.

ah yes var. What about const? surely it behaves the same as var for short 
strings as they are a fundamental type.

Regards,
Ryan Joseph

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

Reply via email to