Skip to content

Conversation

@davidhewitt
Copy link
Contributor

Change Summary

Observed in pydantic/pydantic#7424 (comment), we currently use preserve_order feature of serde-json. This preserves ordering of values during parse.

This should not be needed since we moved to jiter for parsing.

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

@codspeed-hq
Copy link

codspeed-hq bot commented May 27, 2025

CodSpeed Performance Report

Merging #1724 will not alter performance

Comparing dh/no-serde-preserve-order (5cb6078) with main (22d34a7)

Summary

✅ 157 untouched benchmarks

Copy link
Member

@Viicos Viicos left a comment

Choose a reason for hiding this comment

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

Thanks!

@davidhewitt davidhewitt merged commit 238c1c7 into main May 28, 2025
28 of 29 checks passed
@davidhewitt davidhewitt deleted the dh/no-serde-preserve-order branch May 28, 2025 16:33
davidhewitt added a commit to pydantic/pydantic that referenced this pull request Oct 20, 2025
davidhewitt added a commit to pydantic/pydantic that referenced this pull request Oct 22, 2025
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.

3 participants