<html>
<head>
</head>
<body>
Jon, <br>
&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; My problem is not reading the file by the object collection persistence.
Using memory for 500000 of my objects isn't practical. I think I only need
a good persistence manager (Objectivity for Squeak anyone?)<br>
<br>
&nbsp;&nbsp;&nbsp; Yoel<br>
<br>
Jon Hylands wrote:<br>
<blockquote type="cite" cite="mid:i9dd5uk7308k533dkl6dk068rdevpbcrb8@4ax.com">
  <pre wrap="">On Tue, 29 Jan 2002 15:57:39 +0200, Yoel Jacobsen <a class="moz-txt-link-rfc2396E" href="mailto:yoel@emet.co.il">&lt;yoel@emet.co.il&gt;</a> wrote:<br><br></pre>
  <blockquote type="cite">
    <pre wrap="">    I have no problem on small tasks but on very large tasks. Try to do <br>it on 500000 entries and report your finding (if you'll have a valid <br>image after that...<br></pre>
    </blockquote>
    <pre wrap=""><!----><br>Well, there are much better ways to do text processing that reading the<br>entire file into memory.<br><br>If you look at FileStream, you will see that there are easy ways to read in<br>a file line-by-line...<br><br>You could set up a very simple finite state machine to handle parsing each<br>block of lines in the file. That way, the performance would remain pretty<br>much constant, regardless of the size of the file.<br><br>Later,<br>Jon<br><br>--------------------------------------------------------------<br>   Jon Hylands      <a class="moz-txt-link-abbreviated" href="mailto:Jon@huv.com">Jon@huv.com</a>      <a class="moz-txt-link-freetext" href="http://www.huv.com/jon">http://www.huv.com/jon</a><br><br>  Project: Micro Seeker (Micro Autonomous Underwater Vehicle)<br>           <a class="moz-txt-link-freetext" href="http://www.huv.com">http://www.huv.com</a><br><br><br></pre>
    </blockquote>
    <br>
    </body>
    </html>