speedy icon indicating copy to clipboard operation
speedy copied to clipboard

add supoort for SocketAddr SocketAddrV4 SocketAddrV6

Open gcxfd opened this issue 3 years ago • 4 comments

https://github.com/koute/speedy/issues/16

gcxfd avatar Mar 03 '22 15:03 gcxfd

see this commit https://github.com/koute/speedy/pull/17/commits/c01083b514330a0643f7c88c74f4899d8438a5ae , the other change are cargo fmt

gcxfd avatar Mar 04 '22 00:03 gcxfd

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)

gcxfd avatar Mar 04 '22 08:03 gcxfd

This sounds useful, but I think auto-formatting should've been turned off when saving files ;)

jeromegn avatar Jan 23 '24 20:01 jeromegn

I made my own PR (#63) following the coding style of this project and based on the latest master.

jeromegn avatar Jan 31 '24 13:01 jeromegn