Skip to content
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

Remove constrained generic from Deserialize #160

Merged
merged 2 commits into from
Feb 20, 2024

Conversation

agocke
Copy link
Collaborator

@agocke agocke commented Feb 20, 2024

The constrained generic is harder to use and doesn't gain much in performance that cannot be made up in other areas. Refs also don't play well with async, and there are size penalties that come from repeated specialization.

The constrained generic is harder to use and doesn't gain much in
performance that cannot be made up in other areas. Refs also don't play
well with async, and there are size penalties that come from repeated
specialization.
@agocke agocke merged commit 73b2518 into serdedotnet:main Feb 20, 2024
1 check passed
@agocke agocke deleted the no-struct-deserializer branch February 20, 2024 06:27
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.

1 participant