Closed abulimov closed 2 months ago
This pull request was exported from Phabricator. Differential Revision: D58733846
This pull request was exported from Phabricator. Differential Revision: D58733846
This pull request was exported from Phabricator. Differential Revision: D58733846
This pull request has been merged in facebook/time@81310981f32719f067d8ed4f51afea5450a0c177.
Summary: new cool netip package provides better version of IP type, which is fixed length, can be passed by value, is comparable and thus can be used as map keys. We save plenty of allocations by not converting IPs to strings to use as map keys.
Reviewed By: leoleovich, deathowl
Differential Revision: D58733846