<div dir="ltr">or count slower... :-)<div><br></div><div>Jeremy</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 7, 2014 at 9:21 PM, Leigh Wanstead <span dir="ltr"><<a href="mailto:leigh.wanstead@gmail.com" target="_blank">leigh.wanstead@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi John,<div><br></div><div>I would not bother that much. Just save to csv should be fine.</div><div><br>
</div><div>1.5 million is not that much. 1 billion might be more interesting. :-)</div><div><br></div>
<div>Otherwise save as record as binary file.</div><div><br></div><div>Regards</div><div>Leigh</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On 7 July 2014 20:35, John Bird <span dir="ltr"><<a href="mailto:johnkbird@paradise.net.nz" target="_blank">johnkbird@paradise.net.nz</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div lang="EN-NZ" dir="ltr" link="blue" vlink="purple">
<div dir="ltr">
<div style="FONT-SIZE:12pt;FONT-FAMILY:'Calibri';COLOR:#000000">
<div><font face="Tahoma">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.</font></div>
<div><font face="Tahoma"></font> </div>
<div><font face="Tahoma">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.</font></div>
<div><font face="Tahoma"></font> </div>
<div><font face="Tahoma">Is there any really fast way to save such an array
to disk? The numbers range between 0 and 256 if that
helps.</font></div></div></div></div>
<br></div></div>_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a href="mailto:delphi@listserver.123.net.nz" target="_blank">delphi@listserver.123.net.nz</a><br>
Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a href="mailto:delphi-request@listserver.123.net.nz" target="_blank">delphi-request@listserver.123.net.nz</a> with Subject: unsubscribe<br></blockquote></div><br></div>
<br>_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a href="mailto:delphi@listserver.123.net.nz">delphi@listserver.123.net.nz</a><br>
Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a href="mailto:delphi-request@listserver.123.net.nz">delphi-request@listserver.123.net.nz</a> with Subject: unsubscribe<br></blockquote></div><br></div>