documentation
authorClaus Gittinger <cg@exept.de>
Fri, 19 Mar 1999 21:42:23 +0100
changeset 4062 4959de96b06f
parent 4061 ef62e88fd0ac
child 4063 998e2be3d244
documentation
Array.st
ByteArray.st
DoubleArray.st
FloatArray.st
WeakArr.st
WeakArray.st
--- a/Array.st	Fri Mar 19 08:33:38 1999 +0100
+++ b/Array.st	Fri Mar 19 21:42:23 1999 +0100
@@ -57,7 +57,7 @@
 
     Literal arrays (i.e. array-constants) are entered in source as:
 
-	#( element1 element2 ... element-n)
+        #( element1 element2 ... element-n)
 
     where each element must be itself a literal constant.
     Array, symbol and byteArray constants within an array can be written
@@ -72,17 +72,20 @@
       #(nil true #true)       -> 3 elements: nil, true and a symbol (watch out)
       #(two [3 3 3] (4 4 4))  -> 3 elements: a symbol, a byteArray and another array
 
+    [memory requirements:]
+        OBJ-HEADER + (size * ptr-size)
+
     [warning:]
-	read the warning about 'growing fixed size collection'
-	in ArrayedCollection's documentation
+        read the warning about 'growing fixed size collection'
+        in ArrayedCollection's documentation
 
     [author:]
-	Claus Gittinger
+        Claus Gittinger
 
     [see also:]
-	OrderedCollection
-	ByteArray FloatArray DoubleArray
-	String
+        OrderedCollection
+        ByteArray FloatArray DoubleArray
+        String
 "
 ! !
 
@@ -2314,5 +2317,5 @@
 !Array class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Array.st,v 1.111 1999-02-12 14:53:18 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Array.st,v 1.112 1999-03-19 20:42:23 cg Exp $'
 ! !
--- a/ByteArray.st	Fri Mar 19 08:33:38 1999 +0100
+++ b/ByteArray.st	Fri Mar 19 21:42:23 1999 +0100
@@ -52,15 +52,18 @@
     It allows the definition of subclasses of ByteArray, which transparently fetch
     and store C-structure fields.
 
+    [memory requirements:]
+        OBJ-HEADER + size
+
     [warning:]
-	read the warning about 'growing fixed size collection'
-	in ArrayedCollection's documentation
+        read the warning about 'growing fixed size collection'
+        in ArrayedCollection's documentation
 
     [author:]
-	Claus Gittinger
+        Claus Gittinger
 
     [See also:]
-	Array CharacterArray String
+        Array CharacterArray String
 "
 ! !
 
@@ -2074,5 +2077,5 @@
 !ByteArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/ByteArray.st,v 1.103 1999-03-17 16:01:26 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/ByteArray.st,v 1.104 1999-03-19 20:42:19 cg Exp $'
 ! !
--- a/DoubleArray.st	Fri Mar 19 08:33:38 1999 +0100
+++ b/DoubleArray.st	Fri Mar 19 21:42:23 1999 +0100
@@ -70,6 +70,9 @@
 
     See example uses in the GLX interface and GLDemos.
 
+    [memory requirements:]
+        OBJ-HEADER + (size * double-size)
+
     [See also:]
         FloatArray Array
 
@@ -81,5 +84,5 @@
 !DoubleArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/DoubleArray.st,v 1.17 1997-07-31 16:46:12 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/DoubleArray.st,v 1.18 1999-03-19 20:42:15 cg Exp $'
 ! !
--- a/FloatArray.st	Fri Mar 19 08:33:38 1999 +0100
+++ b/FloatArray.st	Fri Mar 19 21:42:23 1999 +0100
@@ -38,6 +38,9 @@
     FloatArrays store floats (and nothing else).
     See documentation in DoubleArray for more information.
 
+    [memory requirements:]
+        OBJ-HEADER + (size * float-size)
+
     [See also:]
         DoubleArray Array
 
@@ -49,5 +52,5 @@
 !FloatArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/FloatArray.st,v 1.13 1996-04-25 16:14:22 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/FloatArray.st,v 1.14 1999-03-19 20:42:12 cg Exp $'
 ! !
--- a/WeakArr.st	Fri Mar 19 08:33:38 1999 +0100
+++ b/WeakArr.st	Fri Mar 19 21:42:23 1999 +0100
@@ -102,6 +102,10 @@
                                     if the VM has to resize its internal tables
                                     and is running out of malloc-memory.
 
+    [memory requirements:]
+        OBJ-HEADER + (size * ptr-size) + ptr-size
+                   + sizeof(dependents-collection)
+
     [author:]
         Claus Gittinger
 
@@ -886,6 +890,6 @@
 !WeakArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Attic/WeakArr.st,v 1.51 1997-11-02 20:33:07 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Attic/WeakArr.st,v 1.52 1999-03-19 20:42:06 cg Exp $'
 ! !
 WeakArray initialize!
--- a/WeakArray.st	Fri Mar 19 08:33:38 1999 +0100
+++ b/WeakArray.st	Fri Mar 19 21:42:23 1999 +0100
@@ -102,6 +102,10 @@
                                     if the VM has to resize its internal tables
                                     and is running out of malloc-memory.
 
+    [memory requirements:]
+        OBJ-HEADER + (size * ptr-size) + ptr-size
+                   + sizeof(dependents-collection)
+
     [author:]
         Claus Gittinger
 
@@ -886,6 +890,6 @@
 !WeakArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/WeakArray.st,v 1.51 1997-11-02 20:33:07 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/WeakArray.st,v 1.52 1999-03-19 20:42:06 cg Exp $'
 ! !
 WeakArray initialize!