Closed ckcr4lyf closed 1 year ago
Removes "parsing" entirely, so getting the [u8; 6] of IP & port is much faster
[u8; 6]
benchmark:
IP str to bytes/&str time: [32.792 ns 32.899 ns 33.033 ns] IP str to bytes/std::net::Ipv4Addr time: [2.0008 ns 2.0097 ns 2.0194 ns]
Removes "parsing" entirely, so getting the
[u8; 6]
of IP & port is much fasterbenchmark: