Closed quininer closed 2 years ago
https://github.com/quininer/cbor4ii/blob/master/src/serde/ser.rs#L269
In order to optimize short fmt input, we will first try fmt to a small buffer, if it fails, we will perform a new fmt. we can unify these two fmt.
close by https://github.com/quininer/cbor4ii/commit/349add7096231963f4f89799e5475d033d27ad6a
https://github.com/quininer/cbor4ii/blob/master/src/serde/ser.rs#L269
In order to optimize short fmt input, we will first try fmt to a small buffer, if it fails, we will perform a new fmt. we can unify these two fmt.