fangism/hackt

[memory usage] re-write union-find non-recursively

fangism opened this issue · 0 comments

this->next = &*this->next->find();

has appeared in a stacktrace in a large design that stack-overflowed during the load of an elaborated .haco-c file (happened to be in cosim). Rewriting that function should greatly reduce stack usage.