Skip to content
This repository was archived by the owner on Mar 15, 2019. It is now read-only.
This repository was archived by the owner on Mar 15, 2019. It is now read-only.

Better upvalue management in closures #26

@mna

Description

@mna

Right now closures are "dumb", each function value keeps a reference to its whole environment recursively up until the module function. This makes closures easy to implement, but it keeps alive all values, regardless of whether or not they are actually used in the closure.

For better memory management, analyze the required values and keep only what's required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions