One technique that is often now performed by the compiler is loop unrolling.
现代编译器常常采用的一种技术是展开循环。
A standard optimization is loop unrolling; the compiler will unroll the loops to reduce the number of branches.
标准的优化是循环展开;编译器将展开循环,以减少分支的数量。
What we have to do is loop until we have less than ten results or until there is an error. The loop looks like this!
我们需要使用一个循环进行遍历,直到所返回的结果少于10个或出现错误为止。
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),它是这样一种技术:复制循环的每次迭代所调用的指令以构成一个序列。
When the maximal uncontrollable subnet is loop-in, the problem is a nonlinear integer program (NIP), which is difficult to be solved.
当最大不可控子网中有环时,控制律的求解变成了非线性整数规划(NIP)问题,而NIP问题的求解是非常困难的。
When the maximal uncontrollable subnet is loop-in, the problem is a nonlinear integer program (NIP), which is difficult to be solved.
当最大不可控子网中有环时,控制律的求解变成了非线性整数规划(NIP)问题,而NIP问题的求解是非常困难的。
应用推荐