Re: Faster way of making long string?



J French wrote:
On Mon, 25 Apr 2005 19:19:35 +0200, Ekkehard Domning <edo@xxxxxxxx>
J French wrote:
On Sun, 24 Apr 2005 19:51:01 +0200, Ekkehard Domning <edo@xxxxxxxx>
- the pre-calculation surprized me - rather cunning
Thanks :-)

(it needs to take negatives into account)
Sure, I realized it later. But this is no real problem.

Rather than IntToStr I would use:  Str( I, S )
- it saves a string creation in IntToStr
- also having drilled into IntToStr it seems to be doing rather a lot
of work
I made a test with this and Str() is much faster than IntToStr. This was surprising for me.

Best regards
Ekkehard Domning
.