On Tue, 3 Jul 2018 09:15:16 -0600
Ryan Joseph <r...@thealchemistguild.com> wrote:

> I was just parsing something and found that a call to length on a pchar was 
> taking 90+% of the time in FPC_PCHAR_LENGTH.
> 
> Why is that so crazy slow? Does it need to iterate the entire length of the 
> string to know it’s length?

Yes.

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

Reply via email to