VS13和VS 17之间的可执行文件大小增加 [英] Increase in executable size between VS13 and VS 17

查看:124
本文介绍了VS13和VS 17之间的可执行文件大小增加的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近更换了计算机并安装了VS 2017并使用与我上次在VS 2013中编译完全相同的设置重新编译了我的程序。之前的可执行文件大小为628 kb。现在它是836 kb。

I changed computers recently and installed VS 2017 and recompiled my program with the exact same settings as I had last compiled it in VS 2013. The previous executable size was 628 kb. Now it's 836 kb.

这是正常的,额外代码包含什么?

Is this normal and what does the extra code contain?

推荐答案

欢迎来到MSDN论坛。

Welcome to MSDN forum.

这是正常的,没有包含额外的代码,您可以使用默认项目进行测试,会发现相同的结果,可执行文件的大小更大。这是因为visual studio 2013和visual studio 2017使用不同的编译器,Visual Studio 2017使得
的性能得到提升,你可以在这里查看:
https://blogs.msdn.microsoft.com/visualstudio/2017/04/05/visual-studio-2017-performance-改进/

It is normal and there is no extra code contained, you could test it with a default project and will find the same result, executable size is bigger. This is because visual studio 2013 and visual studio 2017 use different compilers, visual studio 2017 make performance improved, you could check it here: https://blogs.msdn.microsoft.com/visualstudio/2017/04/05/visual-studio-2017-performance-improvements/.

祝你好运,

Joyce


这篇关于VS13和VS 17之间的可执行文件大小增加的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆