[squeak-dev] The Trunk: Nebraska-nice.29.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Mar 27 22:17:01 UTC 2010


Nicolas Cellier uploaded a new version of Nebraska to project The Trunk:
http://source.squeak.org/trunk/Nebraska-nice.29.mcz

==================== Summary ====================

Name: Nebraska-nice.29
Author: nice
Time: 27 March 2010, 11:16:50.444 pm
UUID: 5a54f14c-e0b0-014b-8b3e-961ed20e8bb9
Ancestors: Nebraska-nice.28

Remove a _ assignment from a class comment

=============== Diff against Nebraska-nice.28 ===============

Item was changed:
  Object subclass: #CanvasEncoder
  	instanceVariableNames: 'connection lastClipRect lastTransform fontCache cachedObjects cachingEnabled'
  	classVariableNames: 'SentTypesAndSizes SimpleCounters'
  	poolDictionaries: ''
  	category: 'Nebraska-Morphic-Remote'!
  
+ !CanvasEncoder commentStamp: 'nice 3/24/2010 07:40' prior: 0!
- !CanvasEncoder commentStamp: '<historical>' prior: 0!
  Encodes canvas commands into string-arrays format.
  
  ---possible further compression for forms ---
  600 * 359 * 4    861600
  
  self encodeForRemoteCanvas size 76063
  Time millisecondsToRun: [self encodeForRemoteCanvas]
  
  | raw data |
+ data := self encodeForRemoteCanvas.
+ raw := RWBinaryOrTextStream on: (String new: 1000).
- data _ self encodeForRemoteCanvas.
- raw _ RWBinaryOrTextStream on: (String new: 1000).
  Time millisecondsToRun: [(GZipWriteStream on: raw) nextPutAll: data; close].
  raw contents size
  (GZipReadStream on: (ReadStream on: raw contents)) upToEnd size
  
  | raw |
+ raw := RWBinaryOrTextStream on: (String new: bits size).
- raw _ RWBinaryOrTextStream on: (String new: bits size).
  raw nextPutAll: bits
  
  Time millisecondsToRun: [bits compressGZip]   50
  
  bits compressGZip size 861620!




More information about the Squeak-dev mailing list