John,
Your description seems to point to a simple streaming over your collection would suffice (e.g SBE 10.3 to 10.4).
Are you observing any perfomance hit or something else?
Em 17/08/2009 07:49, John Escobedo < [email protected] > escreveu:
I'm having trouble finding out if classic squeak methods work in this case.
Can anyone recommend a best practice if I have an object that holds a
large, procedurally created, orderedCollection and I want to be able
to read/write it from a file (text or binary)?
Specifically. I have an object called "PrimeBank", that holds a huge
set of prime numbers. Its methods can grow this set at any time. As
the set gets larger, I'd like to be able to write it out to a file and
read it in when I'm running the code on another image.
Ideally I think I'd like the file to be human readable and editable.
- John E.
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
< br />
_______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
