Skip to content

Garbage Collection #7

@ChrisRackauckas

Description

@ChrisRackauckas

It would be good to garbage collect the functions after the handle is lost, since it should essentially be only related to that one object that created it. That would be done by using a finalizer that deletes the function cache from the dictionary. Though that might cause unsafety if someone creates the same function twice. @c42f is there a way to do this safely? The reason we'd want this is because we're looking to build some million like expressions (and chop them up).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions