Skip to content

Conversation

@colindean
Copy link
Contributor

This extra "just" installs and uses orjson in place of stdlib json.

orjson is 10x faster to serialize and 2x faster to deserialize.

https://github.com/ijl/orjson?tab=readme-ov-file#performance

This extra "just" installs and uses orjson in place of stdlib json.

orjson is 10x faster to serialize and 2x faster to deserialize.

https://github.com/ijl/orjson?tab=readme-ov-file#performance
@colindean colindean enabled auto-merge November 4, 2024 13:57
@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2024

Detected 1 changes to dependencies in Poetry lockfile

Added orjson (3.10.11)

(1 added, 0 removed, 0 updated, 36 not changed)

Copy link
Contributor Author

@colindean colindean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

N.b. I didn't test this on this code, this is largely for downstream consumption where a project with more than a couple of example will benefit.

@colindean colindean merged commit 8d22c7d into main Nov 4, 2024
6 checks passed
@colindean colindean deleted the mypy-faster-cache branch November 4, 2024 14:02
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.

2 participants