Compute masks in IPAddressV6
authorYedidya Feldblum <yfeldblum@fb.com>
Tue, 11 Jul 2017 08:20:38 +0000 (01:20 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 11 Jul 2017 08:34:43 +0000 (01:34 -0700)
commit9b6eade1f3afa32adc9f7d56739b119f53168ccb
tree8573d1af863452916f7e6fd3f98611582331cc2e
parentd6f902fb3f50fe268784714bfe76bfcb9fb95767
Compute masks in IPAddressV6

Summary:
[Folly] Compute masks in `IPAddressV6`.

At runtime, instead of storing a 2Kb masks array in the binary.

Reviewed By: WillerZ, ot

Differential Revision: D5369901

fbshipit-source-id: 031a4eeda1670021236d8ab97f6e85e753675ae5
folly/IPAddressV6.cpp
folly/IPAddressV6.h
folly/test/IPAddressTest.cpp