commentary
authorClaus Gittinger <cg@exept.de>
Thu, 23 Jan 1997 13:45:23 +0100
changeset 2243 adf9680a593e
parent 2242 5037033b8002
child 2244 20ca280cad60
commentary
CheapBlk.st
CheapBlock.st
--- a/CheapBlk.st	Thu Jan 23 13:42:23 1997 +0100
+++ b/CheapBlk.st	Thu Jan 23 13:45:23 1997 +0100
@@ -41,7 +41,11 @@
 
     CheapBlocks are never created explicitely; the only creation
     is done by the compilers, when some sourceCode is compiled to either
-    machine or byteCode.
+    machine or byteCode, and the generated block is found to neither access
+    any variables from its homeContext nor does a method-return.
+    CheapBlocks create less overhead to the runtime system, in that they
+    do not keep the creating context from being reclaimed (but, dont expect
+    too much of a difference ;-)
 
     Since they have no reference to the home, they must store their
     creating method explicitely - otherwise, the system had no 
@@ -136,5 +140,5 @@
 !CheapBlock class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Attic/CheapBlk.st,v 1.16 1996-11-01 16:15:44 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Attic/CheapBlk.st,v 1.17 1997-01-23 12:45:23 cg Exp $'
 ! !
--- a/CheapBlock.st	Thu Jan 23 13:42:23 1997 +0100
+++ b/CheapBlock.st	Thu Jan 23 13:45:23 1997 +0100
@@ -41,7 +41,11 @@
 
     CheapBlocks are never created explicitely; the only creation
     is done by the compilers, when some sourceCode is compiled to either
-    machine or byteCode.
+    machine or byteCode, and the generated block is found to neither access
+    any variables from its homeContext nor does a method-return.
+    CheapBlocks create less overhead to the runtime system, in that they
+    do not keep the creating context from being reclaimed (but, dont expect
+    too much of a difference ;-)
 
     Since they have no reference to the home, they must store their
     creating method explicitely - otherwise, the system had no 
@@ -136,5 +140,5 @@
 !CheapBlock class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/CheapBlock.st,v 1.16 1996-11-01 16:15:44 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/CheapBlock.st,v 1.17 1997-01-23 12:45:23 cg Exp $'
 ! !