优化代码 - / O2更快/ O2 ??? [英] Optimizing code - is /O2 faster that /Ox ???

查看:113
本文介绍了优化代码 - / O2更快/ O2 ???的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

MSDN技术专家对此有所限制,我想要更多

信息。是否有任何资源明确地说明了哪个更快?/
更快/ O2或/ Ox以及多少?

The MSDN techdocs are somewhat limited on this and I wanted more
information. Is there any resource that says definitively which is
faster /O2 or /Ox and by how much?

推荐答案

" ;GRÜN" < GR ** @ copperdog.gro>写在

新闻:d1 ******************************** @ 4ax.com。 ..
"grün" <gr**@copperdog.gro> wrote in
news:d1********************************@4ax.com...
MSDN技术专家对此有所限制,我想要更多的信息。是否有任何资源明确地说哪个更快/ O2或/ Ox以及多少?
The MSDN techdocs are somewhat limited on this and I wanted more
information. Is there any resource that says definitively which is
faster /O2 or /Ox and by how much?




这是一个C ++编译器问题,我想这个是错误的。

无论如何,我怀疑另一个ng会给你一个明确的答案:这总是

取决于你编写的代码和目标机器上的代码;

唯一可靠的方法是在广泛的b / b
机器上使用性​​能关键代码进行基准测试。


Niki



This is a C++ compiler question, I think this is the wrong ng.
Anyway, I doubt another ng could give you a clear answer: This always
depends on the code you write and on the target machine; The only way to
know for sure is to do benchmarks with performance critical code on a broad
number of machines.

Niki


Niki,
Niki,
这是一个C ++编译器问题,我认为这是错误的。
This is a C++ compiler question, I think this is the wrong ng.




为什么所有的VBNet和C#问题都在这个NG中得到解答,而且不能用

C ++?


(当我在这里回答VBNet问题时,我总是说有一个更好的

新闻组,但我知道我是唯一一个。)


永远不会意味着火焰


:-)

Cor



Why are all VBNet and C# questions answered in this NG and can that not with
C++?

(When I answer VBNet questions here, I tell always that there is a better
newsgroup, however I have the idea that I am the only one).

As forever not meant as flame

:-)

Cor


Cor Ligthert写道:
Cor Ligthert wrote:
Niki,
Niki,
这是一个C ++编译器问题,我认为这是错误的。
This is a C++ compiler question, I think this is the wrong ng.



为什么所有的VBNet和C#问题都在这个NG中得到了解答,那可能不是用C ++吗?



Why are all VBNet and C# questions answered in this NG and can that
not with C++?



因为问题一般不是关于.NET的。这是关于本机代码

优化,我很确定你会在* v $ *组中得到一个更好的答案。* vc * group无论如何; - )


C#和VB.NET特定问题也是如此。这些不属于这里

。不幸的是,太多的用户仍然无法区分语言问题和框架问题之间的差异,或者只是太懒了

:-(


干杯,


-

Joerg Jooss
jo ********* @ gmx.net


这篇关于优化代码 - / O2更快/ O2 ???的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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