Closed hsfzxjy closed 4 days ago
A bare import of net/http will largely increase the binary size (1.5M -> 4.0M), even if no members from that package are referenced. Same thing also happens for spew or reflect, except the increment is more marginal.
net/http
spew
reflect
Thanks, the situation seems to have improved as on latest go, only 100KiB are added to the binary. I will update the README.
A bare import of
net/http
will largely increase the binary size (1.5M -> 4.0M), even if no members from that package are referenced. Same thing also happens forspew
orreflect
, except the increment is more marginal.