So in the time of declining resources, we might look what we were doing with what we get in return for it.
在资源逐渐枯竭的时刻,倒是可以看看我们的付出到底得到了什么。
The return, of course, in any given time period is the percentage increase in the portfolio; or, it could be a negative number, it could be a decrease.
当然了,收益率是一定时间内,投资组合的增长率;,也可能是一个负数,表示负增长。
D-A-V-I-D Well, if I've got a five-letter word like D-A-V-I-D, well, that's like five bytes and yet we only have the ability thus far in this class to return one thing at a time I can't return five bytes to you, but wait a minute, those bytes by nature of a computer are just stored in RAM.
好的,如果有5个字母的单词,如,那是5个字节,我们只能返回一个东西,而不能返回5个字节,等一下,这些字节被计算机本能地,存储在内存中。
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周期有关。
应用推荐