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

Support f32 and f64 when the full feature is enabled #340

Merged
merged 1 commit into from
May 24, 2022

Conversation

koute
Copy link
Contributor

@koute koute commented May 24, 2022

This adds optional support for serializing/deserializing f32 and f64.

Why?

We don't really need this (which is why it's disabled by default and only enabled when the full feature is enabled), however supporting these takes very little effort, and I'd like to add parity-scale-codec to the rust_serialization_benchmark to see how it stacks up to other crates performance-wise, and those benchmark require the ability to serialize/deserialize f32s.

You can find limited benchmark results in this issue.

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.

4 participants