Hi Gareth,

there are more optimizations to look at

An user could write custom string enumerators to replace such assignments in loops and try to manually solve that issue.


But then

https://bugs.freepascal.org/view.php?id=34915

the enumerators are stored in memory rather than registers, so it is always slower than a normal loop


Or since you like case; a case of strings should use a hashmap or something rather than doing one by one comparisons

Cheers,
Benito

Am 27.06.19 um 09:27 schrieb J. Gareth Moreton:
https://bugs.freepascal.org/view.php?id=35775

I'm both honoured and amused!  Thank you.

Gareth aka. Kit


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

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

Reply via email to