Skip to content

Does salsa delete the data of orphaned structs? #438

@ScrambledEggsOnToast

Description

@ScrambledEggsOnToast

Apologies if this is an inappropriate place to ask this question. I'm hoping to use salsa (2022) in a project, and trying to understand whether I will need to do any garbage collection. I'm having a hard time figuring this out from the code/documentation.

If the database contains data for structs which are no longer used, does that data get automatically deleted?

For context, I have a tree data structure, some of whose nodes are salsa inputs. The shape of the tree is managed by some other functions which occasionally drop some of its branches. Tracked functions are then used to construct a different tree data structure, some of whose nodes are tracked structs --- but these are guaranteed to not depend on the dropped inputs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    salsa-2022Tracking issue for new salsa

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions