2009/12/14 Damien Cassou <damien.cassou@gmail.com>:
On Sun, Dec 13, 2009 at 11:04 AM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
could you check if the following is working in Nile? http://code.google.com/p/pharo/issues/detail?id=1595
I wrote Nile results.
About Nile, don't know if it is the right place, but I have a few questions about implementation... (I looked once a year ago but now have new light of recent trials on XTream) Why NSMultiByteBinaryOrTextStream don't use a NSDecoder pattern ? Maybe it would help retiring the basicNext & co protocol... Why does NSTDecoder peek answers nil when atEnd ? Cannot nil be a regular answer ? 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. Micro-detail in NSTReadingChunks: Why #skipSeparators use explicitRequirement whiel #skipSeparatorsAndPeekNext provides an implementation for skipSeparators (test isSeparator) This is a first fast read of source, no time to even load or execute, but I can see a lot of work here. Cheers Nicolas
-- 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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project