or count slower... :-) Jeremy
On Mon, Jul 7, 2014 at 9:21 PM, Leigh Wanstead <[email protected]> wrote: > Hi John, > > I would not bother that much. Just save to csv should be fine. > > 1.5 million is not that much. 1 billion might be more interesting. :-) > > Otherwise save as record as binary file. > > Regards > Leigh > > > On 7 July 2014 20:35, John Bird <[email protected]> wrote: > >> I have a program that builds a very large array (over 1,500,000) of >> integers, and the calculation to fill the array takes quite a while – >> around 40-50 secs. If there is a quick way to do it, I would save the >> array to disk if it was faster than recalculating it the next time. >> >> I am guessing that writing the elements to strings and using CSV etc >> would be quite slow, as it involves quite a lot of processing. I will run >> a test to see. >> >> Is there any really fast way to save such an array to disk? The numbers >> range between 0 and 256 if that helps. >> >> _______________________________________________ >> NZ Borland Developers Group - Delphi mailing list >> Post: [email protected] >> Admin: http://delphi.org.nz/mailman/listinfo/delphi >> Unsubscribe: send an email to [email protected] with >> Subject: unsubscribe >> > > > _______________________________________________ > NZ Borland Developers Group - Delphi mailing list > Post: [email protected] > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to [email protected] with > Subject: unsubscribe >
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [email protected] with Subject: unsubscribe
