Skip to content

Have you consider String.Intern for alot of your constant values? #121

Description

@oriches

I'm looking at an application memory dump file and I can see alot of duplicated strings inside the TimeZoneNames namespace.

For instance there are over 300 instances of the string 'US' - 7.7Kb of memory.

okay, this is not a lot of memory in the grand scheme but this is just one example.

Interested to hear your thoughts?

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions