A small return. ;)

Patch 2 was suggested by Holger, and makes FileStream>>#contents as
efficient as FileDescriptor>>#contents.  The first one instead I found
while looking for more similar opportunities regarding #fill.

Please review!

Paolo Bonzini (2):
  optimize FileStream>>#upTo: and FileStream>>#nextLine
  optimize FileStream>>#nextAvailable:... to skip buffer.

 kernel/FileStream.st | 55 ++++++++++++++++++++++++++++++++++++----------------
 2 files changed, 44 insertions(+), 17 deletions(-)

-- 
1.8.2


_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to