There is one caveat: turning on the optimization means that the build time increases. The compiler attempts to do clever things, such as following loops and pulling out constants.
但有一个警告:启用优化意味着要增加编译时间——编译器尝试去做一些智能的事情,例如追随循环并分析出常量。
With each higher level of optimization, compile time and systems resources used to compiler the source code increase as the additional amount of performance squeezed out decreases.
随着优化级别的提高,编译源代码所用的编译时间和系统资源增加,而性能的提升幅度下降。
That means that a lot of possible errors are caught at compile time. If you try to add together a number and a string, the compiler will whine at you.
这就意味着很大一部分错误都可以在编译时被发现,若试图将一个数字和字符串相加,编译器就会报错。
The hard issues of parallelism and the optimizations needed to produce effective code just don't fit into the time available for a single course in compiler construction.
并行性的难题和生成有效代码所需的优化不适合在单个的编译器构造的课程中讲。
One-time: These include the infrastructure and policy requirements like deciding on a compiler version or setting up a bug tracking database.
一次(One - time):这类需求包括架构和策略上的需求,像决定编译器的版本或者设置缺陷跟踪数据库等等。
The compiler simply assumes that the value of num_proc2 will be equal to 1 every time, and generates the code for that branch by default.
编译器简单地假设在任何时候num_proc2都等于1,并且默认地为该转移生成代码。
This marker is enforced strongly by the compiler and weakly at run time; that is, the runtime will expose the internals via reflection if asked.
该标记由编译器强制执行,在运行时则不能很好地被执行;即,运行时将通过映像(reflection)公开这些内部内容(如果要求的话)。
Native code is compiled (and can be recompiled) by a Just-in-time (JIT) compiler while the application runs, based on which classes and methods are invoked frequently.
本机代码在应用程序运行时由即时(JIT)编译器编译(而且可以重新编译),基于经常调用的类和方法。
This assumption, though safe for various static analyses for compiler optimizations, could spell doom for an anti-virus technology by increasing the time and space costs of the analyses.
这个假定,虽然对编译器最优化使用的各种静态分析来说是安全的,但是由于增加了时间和空间的代价,会致反病毒技术于不利处境。
To start banning these functions one should add the following #pragma line to a header file and the compiler will issue a warning every time it encounters one of them
要禁用这些函数,编程人员可添加以下#pragma代码行到头文件,编译器每一次遇到该行代码的时候都会发出警告。
Then, if you try to add a JLabel to that collection, the compiler picks up the discrepancy and complains at compile time.
然后,如果想要将JLabel添加到集合,则编译器会在编译时发现差异和并抛出异常。
Most of the time it is straghtforward to determine whether a particular call is legal and if so, which function will be invoked by the compiler.
大多数情况下,编译器都可以直接明确地判断一个实际的调用是否合法,如果合法,则应该调用哪一个函数。
This will allow you to compile Flex source code without having to specify the location of the Flex compiler each and every time.
这将允许您编译flex源代码,并且不需要每次都指定Flex编译器的位置。
For example, a just-in-time compiler can monitor which code is executed frequently and optimize just that code for speed.
例如,即时编译器可以监测一些被经常执行代码和,同时进行优化以提高速度。
VLIW DSP has simple control hardware, and its ILP is decided during the compile time, so compiler is the key factor in developing applications based on VLIW DSP.
VLIWDSP机器由于硬件控制简单,指令的并行性完全在编译时决定。因此编译程序成为基于VLIW DSP机器应用的关键因素。
The application of this algorithm makes TTA compiler so many advantages, such as the quality of code obtained is high, time and space complexity is low, and implementation is easy.
线性扫描算法的应用使TTA编译器具有生成目标代码质量高、算法的时间和空间复杂度低、易于实现等优点。
The Ahead-of-Time (AOT) compiler can catch template errors early and improve performance by compiling at build time as you'll learn in this chapter.
而预编译(AOT)会在构建时编译,这样可以在早期截获模板错误,提高应用性能。
The key idea is that we find how far an object can escape and how long it can be reachable; these are done by a static-time compiler.
其中关键的想法在于,我们找出一个物件究竟能逃脱到多远,并依此来确定它的生存期上限。这些工作都是由一个静态的编译器来完成。
The paper summarizes the logical error and run-time error that the compiler can not find, in order to help beginners better to master debugging skill and improve programming ability.
总结了编译器不能发现的常见运行错误和逻辑错误,以帮助初学者能较好的掌握程序调试技巧,提高编程能力。
Version information about your compiler, run time, and operating system.
有关编译器、运行时和操作系统的版本信息。
The garbage collector has access to the list of active roots that the just-in-time (JIT) compiler and the runtime maintain.
垃圾回收器可以访问由 实时 (JIT)编译器和运行时维护的活动根的列表。
The compiler alters the function name each time it appears in your program, and the linker matches them up appropriately.
每次函数名出现在程序中的时候编译器就替换它,然后连接器正确的把它们匹配起来。
The style of DU's poems differed from the opinions of the compiler and from the major opinions of poetry aesthetic at that time.
杜诗风格与编选者的主张及当时诗歌审美的主流相悖。
The reason for this behavior is that, at compile time, the compiler only knows that t is a reference type, and therefore must use the default operators that are valid for all reference types.
这种情况的原因在于,编译器在编译时仅知道t是引用类型,因此必须使用对所有引用类型都有效的默认运算符。
The compiler developer must pay more time on manual performance tuning, and the tuning result usually can not catch up with the development of the computer architecture.
编译器人工调优的方法将会耗费编译器开发者大量的时间,而且调优的结果难以适应计算机体系结构的不断变化。
Early binding reduces the number and severity of run-time errors because it allows the compiler to report errors when a program is compiled.
早期系结减少执行阶段错误的次数和严重性,因为它允许编译器在编译程序时报告错误。
Early binding reduces the number and severity of run-time errors because it allows the compiler to report errors when a program is compiled.
早期系结减少执行阶段错误的次数和严重性,因为它允许编译器在编译程序时报告错误。
应用推荐