From dc2b0d1913695e2b37cdb8c52f41979b5c9a7a1f Mon Sep 17 00:00:00 2001 From: Chris Fallin Date: Tue, 1 Jun 2021 23:13:08 -0700 Subject: [PATCH] Add a perf idea to TODO list --- src/ion/mod.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/ion/mod.rs b/src/ion/mod.rs index 81564d5..c16bc3d 100644 --- a/src/ion/mod.rs +++ b/src/ion/mod.rs @@ -42,8 +42,11 @@ first preferred one), reload into it, spill out of it, and then pop old val - - Avoid rebuilding MachineEnv on every function allocation in - regalloc.rs shim + - Play more with commitment-map probing: linear scan through btree + (good for dense bundles, i.e., close ranges) vs. independent + lookup per range in bundle. Adapt based on distance? Do a fresh + range lookup if we skip N btree entries without advancing into + current bundle range? - Profile allocations */