negrel / assert

0️⃣ Zero cost debug assertions for Go.
MIT License
35 stars 1 forks source link

Regarding the bloated binary size #1

Closed hsfzxjy closed 4 days ago

hsfzxjy commented 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.

negrel commented 4 days ago

Thanks, the situation seems to have improved as on latest go, only 100KiB are added to the binary. I will update the README.