Skip to content

Survey memory usage of compiler symbols: how can it be reduced? #644

Open

Description

@gafter

I noticed that source symbols have a side bag with a boolean for every possibly applicable well-known attribute. That is horribly space-inefficient. How much space do our symbols use? How can we reduce the space used? At the very least we should consider sharing the (same) empty bag among all symbols with no attributes.

Activity

  1. added
    Tenet-Performance
    on Feb 18, 2015
  2. added this to the milestone on Feb 20, 2015
  3. self-assigned this
    on Apr 8, 2015
  4. removed this from the milestone on Nov 23, 2015
  5. added this to the milestone on Dec 3, 2015
  6. CyrusNajmabadi commented on Oct 28, 2022

    @CyrusNajmabadi
    Contributor

    @jaredpar is it worth having these issues? Or should this just fall under a more holistic: "we should profile the CPU and memory used during compilation and invest in areas with large wins"?

  7. added a commit that references this issue on Aug 18, 2026
  8. added a commit that references this issue on Sep 4, 2026
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

    Area-CompilersFeature RequestLanguage-C#Language-VBTenet-Performance

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions