Open paupino opened 3 years ago
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:
1.234
) and string based ("1.234"
) formatsserde-float
can be used to serialize float format also.serde-str
should 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).
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.