hackt icon indicating copy to clipboard operation
hackt copied to clipboard

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

Open fangism opened this issue 5 years ago • 0 comments

https://github.com/fangism/hackt/blob/e77f05bd2382f40c9493b86b9b32ef9a009b3263/src/Object/inst/instance_alias.tcc#L777

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.

fangism avatar Jul 09 '20 05:07 fangism