Repository navigation
Commit 129397b
committed
mem: a node is one interned id, so the column D indexes is exact
The walk now emits typed facts (Mem.EF, a node is (def, key, kind)) and Mem.intern gives each node one id, kept per
def by name for vars and per kind then number for sites, calls and the result: two kinds never share a key. The
rules take one var per node; enode, eretOf and esiteNode carry what the rules read of a node's def and kind. D indexes
the first bound column, which was the def and scanned every node of it. s2c --mem on itself 3.68G -> 2.35G
instructions:u (-36%), output identical; a normal compile does not run Mem.1 parent 4ccaf8f commit 129397b
2 files changed
Lines changed: 424 additions & 161 deletions
0 commit comments