Skip to content

Reduce size of TypeInference #495

@MichaReiser

Description

@MichaReiser

ty creates a lot of TypeInference instances and it is a very large struct. It creates an instance for every:

  • scope
  • definition
  • standalone expression

We should explore if:

  • if we can reduce the size of TypeInference itself (e.g. use of ThinVec?)
  • if we can reduce the size of TypeInference for standalone expressions, or definition or do they use all fields?

Metadata

Metadata

Assignees

No one assigned

    Labels

    memoryrelated to memory usage

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions