speedy
speedy copied to clipboard
add supoort for SocketAddr SocketAddrV4 SocketAddrV6
https://github.com/koute/speedy/issues/16
see this commit https://github.com/koute/speedy/pull/17/commits/c01083b514330a0643f7c88c74f4899d8438a5ae , the other change are cargo fmt
another update
add write_to_box ( with features box to enable )
and see the new bench on my mac 2015 https://github.com/koute/serde-bench/pull/3
test serialize_manual ... bench: 77 ns/iter (+/- 9)
test serialize_manual_foreign_endianness ... bench: 75 ns/iter (+/- 6)
test serialize_prost ... bench: 101 ns/iter (+/- 13)
test serialize_rmp ... bench: 94 ns/iter (+/- 7)
test serialize_serde_bincode ... bench: 90 ns/iter (+/- 14)
test serialize_serde_cbor ... bench: 171 ns/iter (+/- 20)
test serialize_serde_json ... bench: 399 ns/iter (+/- 21)
test serialize_serde_pickle ... bench: 129 ns/iter (+/- 13)
test serialize_serde_rmp ... bench: 167 ns/iter (+/- 17)
test serialize_serde_xdr ... bench: 120 ns/iter (+/- 13)
test serialize_speedy ... bench: 83 ns/iter (+/- 9)
test serialize_speedy_box ... bench: 75 ns/iter (+/- 5)
test serialize_speedy_foreign_endianness ... bench: 83 ns/iter (+/- 5)
This sounds useful, but I think auto-formatting should've been turned off when saving files ;)
I made my own PR (#63) following the coding style of this project and based on the latest master.