Is it required to see those lines as they are generated. If you could send them to a file, you can speed it up. The memo is really awful for this amount of data.
Also, the processmessages slows things down. You could call it every 100 loops instead for example.
In the Lines.Add you use floattostr three times. Have a look at the Format() function.
Reputation Points: 550
Solved Threads: 731
Bite my shiny metal ass!
Offline 4,179 posts
since Jul 2006