• Victor Zverovich's avatar
    Reduce binary size via format string compilation · 66f614d7
    Victor Zverovich authored
    Summary: Switch to format string compilation to prevent pulling in too many symbols from the {fmt} library into `folly/detail:ip_address`. This change saves ~64k (fixed cost) in opt mode compared to the current master or ~36k compared to the old code using Folly Format. This doesn't matter for server projects especially since {fmt} will likely be linked anyway but matters for some mobile ones.
    
    Reviewed By: Orvid
    
    Differential Revision: D25904078
    
    fbshipit-source-id: 56473cf9bf4456a3cb3c5aa375c16393e144b6e1
    66f614d7
IPAddress.cpp 1.13 KB