Reuse verified native suffixes after settled output routines
This commit is contained in:
1 parent
f387b1db61
commit
0117449023
30 files changed
+791
-77
No files matched your search
@@ -25,6 +25,7 @@ impl Executor {
|
||||
}
|
||||
// Packing can move existing lists or replace an old register. Recount
|
||||
// actual storage here, counting each shared list allocation once.
|
||||
self.reads_event_history = true;
|
||||
let usage = self.collect_usage(shipping, None, Collector::for_capacity());
|
||||
self.material_charge = usage
|
||||
.active_material
|
||||
@@ -36,10 +37,11 @@ impl Executor {
|
||||
Ok(())
|
||||
}
|
||||
fn resource_usage(
|
||||
&self,
|
||||
&mut self,
|
||||
shipping: Option<&NativeBox>,
|
||||
host: Option<HostResourceUsage>,
|
||||
) -> ResourceUsage {
|
||||
self.reads_event_history = true;
|
||||
self.collect_usage(shipping, host, Collector::default())
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user