One technique that is often now performed by the compiler is loop unrolling.
现代编译器常常采用的一种技术是展开循环。
Loop unrolling has been an optimization technique since the dawn of computer programming.
循环展开从计算机编程诞生开始就已经成为一种优化技术了。
Conditions for loop unrolling to be beneficial and the point at which margins of return decrease?
循环展开是有益的,在这一点上边际利润下降的情况吗?
Loop unrolling is an example of a transformation that might cause the JIT to have problems register-allocating.
循环展开是一个可能导致JIT分配寄存器出现问题的转换的例子。
A standard optimization is loop unrolling; the compiler will unroll the loops to reduce the number of branches.
标准的优化是循环展开;编译器将展开循环,以减少分支的数量。
The first is loop unrolling, a technique where the instructions called in each iteration of the loop are replicated to form a single sequence.
首先是循环展开(loop unrolling),它是这样一种技术:复制循环的每次迭代所调用的指令以构成一个序列。
The loop I used here should be a minor defect, because any decent Just-in-time (JIT) compiler will perform loop unrolling, which lessens the impact.
这里使用的循环应该算是一个缺陷,但是影响不大,因为所有即时(JIT)编译器都会执行循环展开,这会降低循环的影响。
All you're doing is promising the compiler that the argument passed to the function will be at least that large; some machines might use this for loop unrolling.
您这样做是向编译器保证传递给那个函数的参数将至少是那么大;有一些机器可能会以此来拆解循环。
The cla ic compiler optimizatio, such as dead co de elimination, co tant folding, co tant propagation, elimination of partial redundancies, loop unrolling, etc. , are static analyses.
典型的编译器最优化,如死代码消除、常数合并、常数传送、部分冗余的消除、循环展开等等,是静态分析。
The cla ic compiler optimizatio, such as dead co de elimination, co tant folding, co tant propagation, elimination of partial redundancies, loop unrolling, etc. , are static analyses.
典型的编译器最优化,如死代码消除、常数合并、常数传送、部分冗余的消除、循环展开等等,是静态分析。
应用推荐