Skip to content

Revisit _NameMap in light of Swift 5 changing the default String encoding #1561

@thomasvl

Description

@thomasvl

For a while now I've been wondering if _NameMap should get a revisit since Swift 5 went UTF-8. We likely could drop all the allocations related to the InternPool, and we might actually end up at the point the compiler can just realized everything is concurrency safe again.

But given the Swift 5.10 new concurrency warnings around it (#1560), it seems like that might be even more reason to consider revisiting/simplifying it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions