Hi,
latest profiling of one of our FPC applications showed ReadInteger (in rtl/objpas/sysutils/sysformt.inc) to be a performance bottleneck. Using Pos(Fmt[chpos],'1234567890')0 to check if Fmt[chpos] is a digit is somewhat time consuming. I replaced it with two char comparisons with '0' and '9'.
The rest of the patch only unifies the casing of the variable chpos.
Markus
