about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--030container.cc2
-rw-r--r--036refcount.cc3
2 files changed, 4 insertions, 1 deletions
diff --git a/030container.cc b/030container.cc
index c1b682c6..80d3e259 100644
--- a/030container.cc
+++ b/030container.cc
@@ -165,6 +165,8 @@ if (t.kind == CONTAINER) {
 
 //: precompute Container_metadata before we need size_of
 //: also store a copy in each reagent in each instruction in each recipe
+//: does unnecessary work for meaningless types
+//:   e.g. (address number) also computes size of 'address'
 
 :(after "Begin Instruction Modifying Transforms")  // needs to happen before transform_names, therefore after "End Type Modifying Transforms" below
 Transform.push_back(compute_container_sizes);
diff --git a/036refcount.cc b/036refcount.cc
index c6e41471..80289641 100644
--- a/036refcount.cc
+++ b/036refcount.cc
@@ -277,9 +277,10 @@ bool operator<(const address_element_info& a, const address_element_info& b) {
   return false;  // equal
 }
 
-
 //: populate metadata.address in a separate transform, because it requires
 //: already knowing the sizes of all types
+//: does unnecessary work for meaningless types
+//:   e.g. (address number) also computes address offsets for 'address'
 
 :(after "Transform.push_back(compute_container_sizes)")
 Transform.push_back(compute_container_address_offsets);