X Tutup
Skip to content

Commit ae6a114

Browse files
committed
Avoid copies in GRPharoZnCodecStream
Fixes SeasideSt#143
1 parent 3760bc7 commit ae6a114

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
accessing
22
greaseNext: anInteger putAll: aCollection startingAt: startIndex
3-
self nextPutAll: (aCollection copyFrom: startIndex to: startIndex + anInteger - 1)
3+
encoder next: anInteger putAll: aCollection startingAt: startIndex toStream: stream
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
streaming
22
nextPutAll: aString
3-
aString asString do:[ :each | self nextPut: each ]
3+
encoder next: aString size putAll: aString startingAt: 1 toStream: stream
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
accessing
22
greaseNext: anInteger putAll: aCollection startingAt: startIndex
3-
self nextPutAll: (aCollection copyFrom: startIndex to: startIndex + anInteger - 1)
3+
encoder next: anInteger putAll: aCollection startingAt: startIndex toStream: stream
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
streaming
22
nextPutAll: aString
3-
aString asString do:[ :each | self nextPut: each ]
3+
encoder next: aString size putAll: aString startingAt: 1 toStream: stream

0 commit comments

Comments
 (0)
X Tutup