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

Speed up number serialization using itoa and ryu crates #2

Open
Marcono1234 opened this issue Apr 21, 2023 · 0 comments
Open

Speed up number serialization using itoa and ryu crates #2

Marcono1234 opened this issue Apr 21, 2023 · 0 comments
Labels
enhancement New feature or request performance Problem with performance or suggestion for performance improvement

Comments

@Marcono1234
Copy link
Owner

Problem solved by the enhancement

The speed of number serialization could probably be improved.

Enhancement description

Investigate usage of the libraries https://docs.rs/itoa and https://docs.rs/ryu for number serialization (see also TODO comments in Struson code). Have to verify that using them increases the serialization speed.

Usage of these crates should be controlled by a (single) opt-in feature. This keeps the number of dependencies for the default features low and might avoid potential incompatibilities between the serialized output.

@Marcono1234 Marcono1234 added the enhancement New feature or request label Apr 21, 2023
@Marcono1234 Marcono1234 added the performance Problem with performance or suggestion for performance improvement label Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance Problem with performance or suggestion for performance improvement
Projects
None yet
Development

No branches or pull requests

1 participant