Closed abulimov closed 2 months ago
This pull request was exported from Phabricator. Differential Revision: D58814643
This pull request was exported from Phabricator. Differential Revision: D58814643
This pull request was exported from Phabricator. Differential Revision: D58814643
This pull request has been merged in facebook/time@4db09adcc1ec9ae3b6dda1dfcf41db77ca89b246.
Summary: Simple optimization. Instead of creating a net.IP from SockAddr, and then creating a SockAddr from this IP, just with different port, we simply copy the address and set a new port value.
Reviewed By: leoleovich
Differential Revision: D58814643