I will answer part of your questions and let Cyrille answers the others:

On Mon, Dec 14, 2009 at 11:00 PM, Nicolas Cellier
<[email protected]> wrote:
> Why does NSTDecoder peek answers nil when atEnd ? Cannot nil be a
> regular answer ?


because it is what core streams are doing and I wanted to mimic core
streams to be able to replace them easily. Once replaced, we will be
able to change things.

> Why NSBuffer use hardcoded buffer length of 100 ? Is this just an example ?
> I ask because buffering is a key to efficiency both for files and 
> TextConverter.

this is a stupid proof of concept implementation that we will have to
change when we decide to do something serious with it.

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to