Writing a large Collection of integers to a file fast
John M McIntosh
johnmci at smalltalkconsulting.com
Sun Jan 27 22:13:22 UTC 2008
Forgot to say , what is needed is a BUFFERED multibyte stream, but
that is a non-trivial coding problem.
On Jan 27, 2008, at 9:38 AM, David T. Lewis wrote:
> On Sat, Jan 26, 2008 at 11:38:21PM +0100, nicolas cellier wrote:
>> Bert Freudenberg a ?crit :
>>>
>>> Try printing to a memory buffer in chunks of 10000 integers, and
>>> putting
>>> that on the file. Unbuffered I/O is slow.
--
=
=
=
========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
=
=
=
========================================================================
More information about the Squeak-dev
mailing list
|