v1.2.2
What's Changed
- Add unit tests and benchmarks by @MarshalX in #11
- Add CodSpeed by @MarshalX in #14
- Fix encode_multibase input data type by @MarshalX in #12
- Fix DAG CBOR string encoding by @MarshalX in #13
- Fix duplicated map keys check in decode_dag_cbor by @MarshalX in #16
- Fix non-string map keys check in decode_dag_cbor by @MarshalX in #17
- Fix DAG-CBOR map keys order for encoding and decoding by @MarshalX in #18
🏎️ Performance comparison
Before (v1.2.1):
canada.json.dagcbor libipld : 1.98 ms (508.99 MB/s)
citm_catalog.json.dagcbor libipld : 3.96 ms (82.46 MB/s)
twitter.json.dagcbor libipld : 1.92 ms (200.10 MB/s)After (v1.2.2):
canada.json.dagcbor libipld : 2.04 ms (493.43 MB/s)
citm_catalog.json.dagcbor libipld : 2.76 ms (118.31 MB/s)
twitter.json.dagcbor libipld : 1.03 ms (371.93 MB/s)CodSpeed Performance Report: #18 (comment)
Full Changelog: v1.2.1...v1.2.2