Skip to content

Improve how IR is created #19

Description

@Doom2fan

While the caching is nice for decreasing the amount of waste, it might be desirable to be able to get rid of the cached data.
Maybe make the cache local to the compiler object? We could also maybe make it cache pointers to make more nodes cacheable.
Line numbers could pose a problem for caching.
Maybe make it unmanaged? Shouldn't be too hard. Could then more easily restrict their lifetime to the compiler or environment.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions