--- a/ArrayedCollection.st Fri Jul 29 21:39:49 2016 +0100
+++ b/ArrayedCollection.st Fri Jul 29 21:40:03 2016 +0100
@@ -38,19 +38,19 @@
documentation
"
- ArrayedCollection is an abstract superclass for all collections where
+ ArrayedCollection is an abstract superclass for all collections where
the elements can be accessed via an integer index,
AND the collection is a fixed size collection.
- Those fixed size collections cannot easily grow, since they store the
- elements directly within the object and a grow operation can only be done
+ Those fixed size collections cannot easily grow, since they store the
+ elements directly within the object and a grow operation can only be done
by #becoming another object.
- (many other collections keep a reference to the physical container,
+ (many other collections keep a reference to the physical container,
which can be easily replaced)
- [Warning:]
+ [Warning:]
currently, ST/X supports growing fix-size collections
- (such as Arrays, ByteArrays and Strings).
+ (such as Arrays, ByteArrays and Strings).
However, this is done in a very slow way (using #become).
Become is a very slow operation in a direct-pointer Smalltalk system
(which ST/X and many other 'modern' Smalltalks are).
@@ -60,9 +60,9 @@
To remind you of that, a warning message is sent to stdErr,
whenever such an operation is performed (see #grow).
- Also note, that some other Smalltalk systems do NOT allow
+ Also note that some other Smalltalk systems do NOT allow
fix size collection to change their size, and that future
- ST/X versions may be changed to trigger an error
+ ST/X versions may be changed to trigger an error
(instead of a warning) in those situations.
[author:]