faster alternative to InttoStr/StrToInt?
I wonder if there are faster alternative than System.IntToStr / System.StrToInt . There is a fast version but only UTF8. Which is Int32ToUTF8 from SynCommons.pas and due to slow string conversions it is bound to be slow. The purepascal RTL versions are really slow for 64 bit. This routine is approximately 40% faster than the routine in the RTL. It could be much faster if you worked with WideChar[] buffers because the string allocation is taking up 75% of the time used by the conversion routine: IntS32ToWide: 5,50 ns/item (PWideChar) IntToStr: 34,51 ns/item (RTL) IntS32ToStr: 24,77 ns/item (RTL