Release mode static library much larger than debug mode version

后端 未结 3 1459
陌清茗
陌清茗 2020-12-15 18:46

today i found out that the compiled static library i\'m working on is much larger in Release mode than in Debug. I found it very surprising

3条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-15 19:05

    The optimization could be the issue here, notably automatically created inline functions will be bigger but faster in release than debug.

提交回复
热议问题