是否有任何优势,编译程序集的64位?编译程序、有任何、优势

由网友(華燈初上)分享简介:假设我有一个.net Framework 3.5 SP1中/ CLR 2.0应用程序,它需要在x86和x64平台上运行。假设以及无论出于何种原因,我需要创建单独的x86和x64的安装程序。Suppose I have a .Net Framework 3.5 SP1/CLR 2.0 application which...

假设我有一个.net Framework 3.5 SP1中/ CLR 2.0应用程序,它需要在x86和x64平台上运行。假设以及无论出于何种原因,我需要创建单独的x86和x64的安装程序。

Suppose I have a .Net Framework 3.5 SP1/CLR 2.0 application which needs to run on both x86 and x64 platforms. Suppose as well that for whatever reason, I need to create separate x86 and x64 installation programs.

由于我有一个64位的具体安装反正会有任何好处重新编译应用程序本身为64,而不是针对值为anycpu?

As I have an x64-specific installer anyway, would there be any benefit to recompiling the application itself as x64 rather than targeting "AnyCPU"?

是否设定目标到x64改变任何东西,除了生成的程序集的头信息?

Does setting the target to x64 change anything at all besides the header information of the generated assembly?

推荐答案

如果您指定的x64它改变了一些默认的内存设置为程序,使它稍稍与大内存pressure程序更好的性能。较大的线程栈都使用x64编译时(分配链接)

If you specify x64 it changes some default memory settings for the program, making it slightly more performant in programs with a large memory pressure. Larger thread stacks are allocated when compiling with x64 (link)

阅读全文

相关推荐

最新文章