Levente Uzonyi uploaded a new version of Files to project The Trunk:
http://source.squeak.org/trunk/Files-ul.186.mcz==================== Summary ====================
Name: Files-ul.186
Author: ul
Time: 25 January 2021, 4:46:58.396742 pm
UUID: 2ae84c53-ba51-4aa6-9840-891243638cc6
Ancestors: Files-dtl.185
- speed up StandardFileStream >> #upToEnd by reading the remaining data all at once
=============== Diff against Files-dtl.185 ===============
Item was changed:
----- Method: StandardFileStream>>upToEnd (in category 'read, write, position') -----
upToEnd
"Answer a subcollection from the current access position through the last element of the receiver."
+ ^self next: self size - self position!
- ^self collectionSpecies streamContents: [ :newStream |
- | next |
- [ (next := self next) == nil ] whileFalse: [
- newStream nextPut: next ] ]!