Skip to content

Use msgspec to parse json#16

Merged
lacraig2 merged 7 commits intomainfrom
msgspec
Mar 12, 2026
Merged

Use msgspec to parse json#16
lacraig2 merged 7 commits intomainfrom
msgspec

Conversation

@lacraig2
Copy link
Contributor

This PR adds msgspec (https://jcristharif.com/msgspec/index.html) as a dependency.

Msgspec is incredibly fast at serialization and is lower for memory overhead if you know the types a priori (which we do).

This PR changes all the internals and tests necessary for that change to take place. It also adds a benchmark and is dramatically faster than even the fastest standard json library (orjson).

@lacraig2 lacraig2 merged commit 7f096d9 into main Mar 12, 2026
3 checks passed
@lacraig2 lacraig2 deleted the msgspec branch March 12, 2026 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant