Skip to content

Split struct should not be readonly #7009

Closed

Description

@stephentoub

Doing so prohibits desirable optimizations, like making the TokenString property lazily initialized from the original string (otherwise, we end up allocating a new string for every split even if the string isn't used).

Activity

  1. stephentoub commented on Feb 16, 2024

    @stephentoub
    MemberAuthor
  2. self-assigned this
    on Feb 16, 2024
  3. added
    bugSomething isn't working
    and removed
    untriagedNew issue has not been triaged
    on Feb 16, 2024
  4. stephentoub commented on Feb 18, 2024

    @stephentoub
    MemberAuthor

    addressed in #7012

  5. locked and limited conversation to collaborators on Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions