Skip to content

Help improve experience with untagged schemas#156

Merged
oli-obk merged 2 commits intoserde-rs:masterfrom
epage:untagged
May 18, 2025
Merged

Help improve experience with untagged schemas#156
oli-obk merged 2 commits intoserde-rs:masterfrom
epage:untagged

Conversation

@epage
Copy link
Copy Markdown
Contributor

@epage epage commented Sep 5, 2023

I expect a lot of users are like me and just assume their code is fast enough. It wasn't until I had to do more explicit benchmarks that I found out how slow untagged is. The hope is to make this more discoverable for others along with an easier / less intimidating way of improving performacne via serde-untagged. See also serde-rs/serde#2101

Similarly, errors can be bad and expecting wasn't documented until #153. This also adds cross-linking to make this attribute more discoverable.

@epage
Copy link
Copy Markdown
Contributor Author

epage commented May 15, 2025

@oli-obk its rebased

@oli-obk oli-obk merged commit 3668e63 into serde-rs:master May 18, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants