Skip to content

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

Description

@fangism

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions