Skip to content

Optimize interned values that disable GC #986

@ibraheemdev

Description

@ibraheemdev

There are a couple things we can do to remove the overhead of interned values that disable GC.

  • Avoid storing the LRU fields (this will require tricky generics).
  • Avoid adding a read dependency on the interned value. Before GC, we added a dependency on the interned ingredient table, which was only invalidated if reset was called. I'm not sure if this functionality is still necessary, we could probably remove the read dependency entirely.

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