On Fri, 8 Nov 2019, AlexeyT via fpc-pascal wrote:

Procedure TStrings.SetDelimitedText(const AValue: string);  has about 16 calls to Length(AValue), so make a variable NLen to speed up it.

Optimized, thanks for the hint.

Also reworked it so AddDelimitedText reuses DelimitedText code, no temp 
stringlist is created
any more.

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

Reply via email to