now let's go back to each of our individual steps and look, based on what we know about how to evaluate the thermodynamic changes that take place here, let's look at each one of the steps and see what happens.
让我们回到循环中的每一步,然后看看,基于我们已有的知识,来估计一下,发生的热力学变化,让我们看,循环中的每一步发生了什么。
So this line or these lines of code up here are arguably constant time steps to say if N is less than 2 in return, that it will always take maybe one step, maybe two steps, some number of fixed CPU cycles.
如果N小于2并返回,那么这些行所对应的代码,通常只需要执行一步,或者两步,具体数字与CPU周期有关。
应用推荐