Skip to content

Support for string interning #634

@AArnott

Description

@AArnott

We should support flipping a switch such that MessagePackReader automatically reuses string references instead of repeatedly decoding the same byte sequences and creating duplicate strings as a result.

Alternative: implement #57 such that strings automatically get de-duped and we implicitly share references to unique strings on deserialization.

See also #505 where @neuecc mentioned inventing this himself in a consumer of this project.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions