Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

experiment with "ref" form of extra #1786

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
davidhewitt wants to merge 2 commits into pydantic:main
base: main
Choose a base branch
Loading
from davidhewitt:dh/owned-extra

Conversation

@davidhewitt
Copy link
Contributor

@davidhewitt davidhewitt commented Sep 15, 2025

Change Summary

Experiment whether avoiding taking ownership of extra can aid performance. Not ready, pushing for codspeed feedback.

Related issue number

N/A

Checklist

  • Unit tests for the changes exist
  • Documentation reflects the changes where applicable
  • Pydantic tests pass with this pydantic-core (except for expected changes)
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Copy link

codecov bot commented Sep 15, 2025
edited
Loading

Codecov Report

❌ Patch coverage is 0% with 60 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/serializers/type_serializers/function.rs 0.00% 60 Missing ⚠️

📢 Thoughts on this report? Let us know!

Copy link

codspeed-hq bot commented Sep 15, 2025
edited
Loading

CodSpeed Performance Report

Merging #1786 will not alter performance

Comparing davidhewitt:dh/owned-extra (0fe0b40) with main (1cd5ee3)

Summary

✅ 161 untouched

Copy link
Contributor Author

I realise there is no benchmark for this serialization pathway, will add one.

Copy link
Contributor Author

The signal is slightly too small to show here, this is a ~5% improvement on the wrap serializer performance according to codspeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /