Skip to content

HFIR adapter: exponential lowering on shared pure subexpressions; add depth/expanded-size cap (blocks live runs) #169

Closed

Description

@howlcipher

From Motoko's #167 review: lowering doubles per level of shared pure subexpression (depth 20 = 2.2s/3.1GB; depth 22, a 3.7KB proposal, runs out of memory). A 4095-node chain allocates about 4.3GB. Memoize/share lowering and add a depth or expanded-size cap that fails closed. Blocks live-model runs.

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