You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this ticket should encompass a bit more than optimization. We should really start to clean up the behavior and make it easier to comprehend/parse if possible. One proposal is:
Deserialization supports both float (1.234) and string based ("1.234") formats
Serialization format is controlled via feature flag. Default is to use the string based approach however serde-float can be used to serialize float format also.
serde-strshould become redundant and serde-arbitrary-precision only necessary if wanting to leverage serde-json precision features (assuming optimization is still a part of this too - i.e. avoiding intermediary floats).
paupino
changed the title
Optimize serde-float feature by preventing serialization to/from f64
Revisit serde features to make serde features easier to comprehend and work with
Sep 14, 2021
paupino
changed the title
Revisit serde features to make serde features easier to comprehend and work with
Revisit serde features to make them easier to comprehend and work with
Sep 14, 2021
This can likely share some lessons from
serde_json
, without pulling in the additional dependency.e.g. Serlialization, look into how this is done.
e.g.
Deserialization would be looking into the arbitrary precision feature.
The text was updated successfully, but these errors were encountered: