[Lazarus] Writing >1000 TBufDataset records to file is extremely slow

Werner Pamler werner.pamler at freenet.de
Mon Mar 27 09:22:02 CEST 2017


Am 27.03.2017 um 09:07 schrieb Marc Santhoff via Lazarus:
> I didn't count, but you make extensive use of the Random() function.
> Could that be the cause of slowness?

No, Random() is called only while records are populated - this step is 
completed without any noticable delay. Time is measured afterwards when 
the populated table is written to stream/file.


More information about the Lazarus mailing list