Because strings are immutable, this approach means a new string will be constructed each time through the loop, with the data copied from the old string and a single character added at the end.
因为字符串是不可变的,所以这种方式意味着每次循环时会构建一个新的字符串,从老的字符串拷贝数据并在最后增加一个字符。
The outer loop decrements a loop counter variable each time through the loop.
每循环一次,外部循环都使循环计数器变量递减一次。
IE7's naive concatenation algorithm requires that the browser repeatedly copy and allocate memory for larger and larger strings each time through the loop.
IE7天真的连接算法要求浏览器在循环过程中反复地为越来越大的字符串拷贝和分配内存。
"We have good partnerships among the countries within each agro-eco system so that through this twinning they can learn lessons from each other and work together effectively through time."
VOA: special.2010.02.08
And I want to remind you, that block of code is a set of instructions, the same set of instructions that are going to be done each time through the loop.
我想提醒大家,这块代码是一个指令集,一个每次循环都会被执行的相同指令集,会变化的仅仅是变量的值。
So each time through the loop, I'm doing three steps. Three basic operations.
因此每次运行这个循环,我做了三次基本运算。
应用推荐