help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] [PATCH 0/2] Some FileStream optimizations


From: Paolo Bonzini
Subject: [Help-smalltalk] [PATCH 0/2] Some FileStream optimizations
Date: Sat, 4 May 2013 18:26:43 +0200

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]