Skip to content

De-duplicate interned strings during class copying #102

@dktapps

Description

@dktapps

During class copying, it's likely that many copies of the same string will be made, for example the names of properties and inherited methods.
We can avoid this by putting interned strings into PTHREADS_ZG(resolve), allowing strings with the same origin pointer to reuse the same destination string. This will both improve performance and reduce memory usage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions