[squeak-dev] Faster FileStream experiments

Eliot Miranda eliot.miranda at gmail.com
Wed Nov 18 18:15:25 UTC 2009


On Wed, Nov 18, 2009 at 3:10 AM, Nicolas Cellier <
nicolas.cellier.aka.nice at gmail.com> wrote:

> I just gave a try to the BufferedFileStream.
> As usual, code is MIT.
> Implementation is rough, readOnly, partial (no support for basicNext
> crap & al), untested (certainly has bugs).
> Early timing experiments have shown a 5x to 7x speed up on [stream
> nextLine] and [stream next] micro benchmarks
> See class comment of attachment
>
> Reminder: This bench is versus StandardFileStream.
> StandardFileStream is the "fast" version, CrLf anf MultiByte are far worse!
> This still let some more room...
>
> Integrating and testing a read/write version is a lot harder than this
> experiment, but we should really do it.
>

Just want to wish you every encouragement!  This is *really* useful work.


> Nicolas
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20091118/a241defd/attachment.htm


More information about the Squeak-dev mailing list