Skip to content

Reduce performance regression - #882

Merged
ofek merged 1 commit into
msgspec:mainfrom
JelleZijlstra:opt
Oct 19, 2025
Merged

ofek merged 1 commit into
msgspec:mainfrom
JelleZijlstra:opt

Conversation

@JelleZijlstra

Copy link
Copy Markdown
Contributor

The manual version should work on all pre-3.14 versions. This means we no longer need to import inspect on those versions.

It still imports annotationlib on 3.14. That's a bit harder to avoid, but I'll write up some ideas on the issue.

Part of #880.

@ofek ofek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Awesome, thank you!

@ofek
ofek merged commit 5c11f01 into msgspec:main Oct 19, 2025
@JelleZijlstra
JelleZijlstra deleted the opt branch October 19, 2025 23:08
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