diff options
Diffstat (limited to 'html/030container.cc.html')
-rw-r--r-- | html/030container.cc.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/html/030container.cc.html b/html/030container.cc.html index d4c45e18..05838130 100644 --- a/html/030container.cc.html +++ b/html/030container.cc.html @@ -213,9 +213,9 @@ type_info t = get<span class="Delimiter">(</span>Type<span class="Delimiter">,</ <span class="Comment">//: also store a copy in each reagent in each instruction in each recipe</span> <span class="Delimiter">:(after "End Type Modifying Transforms")</span> -Transform<span class="Delimiter">.</span>push_back<span class="Delimiter">(</span>compute_container_sizes<span class="Delimiter">);</span> +Transform<span class="Delimiter">.</span>push_back<span class="Delimiter">(</span>compute_container_sizes<span class="Delimiter">);</span> <span class="Comment">// idempotent</span> <span class="Delimiter">:(code)</span> -<span class="Normal">void</span> compute_container_sizes<span class="Delimiter">(</span>recipe_ordinal r<span class="Delimiter">)</span> <span class="Delimiter">{</span> +<span class="Normal">void</span> compute_container_sizes<span class="Delimiter">(</span><span class="Normal">const</span> recipe_ordinal r<span class="Delimiter">)</span> <span class="Delimiter">{</span> recipe& caller = get<span class="Delimiter">(</span>Recipe<span class="Delimiter">,</span> r<span class="Delimiter">);</span> trace<span class="Delimiter">(</span><span class="Constant">9992</span><span class="Delimiter">,</span> <span class="Constant">"transform"</span><span class="Delimiter">)</span> << <span class="Constant">"--- compute container sizes for "</span> << caller<span class="Delimiter">.</span>name << end<span class="Delimiter">();</span> <span class="Normal">for</span> <span class="Delimiter">(</span><span class="Normal">int</span> i = <span class="Constant">0</span><span class="Delimiter">;</span> i < SIZE<span class="Delimiter">(</span>caller<span class="Delimiter">.</span>steps<span class="Delimiter">);</span> ++i<span class="Delimiter">)</span> <span class="Delimiter">{</span> @@ -858,7 +858,7 @@ Num_calls_to_transform_all_at_first_definition = -<span class="Constant">1</span <span class="traceContains">+mem: storing 34 in location 2</span> <span class="Delimiter">:(after "Transform.push_back(expand_type_abbreviations)")</span> -Transform<span class="Delimiter">.</span>push_back<span class="Delimiter">(</span>expand_type_abbreviations_in_containers<span class="Delimiter">);</span> +Transform<span class="Delimiter">.</span>push_back<span class="Delimiter">(</span>expand_type_abbreviations_in_containers<span class="Delimiter">);</span> <span class="Comment">// idempotent</span> <span class="Delimiter">:(code)</span> <span class="Comment">// extremely inefficient; we process all types over and over again, once for every single recipe</span> <span class="Comment">// but it doesn't seem to cause any noticeable slowdown</span> |