Our listener question this week comes just in time.
VOA: special.2009.02.20
So this is the same definition we saw last time, just being a little bit more nerdy and putting in some notation.
这个定义和我们上次讲的是一致的,只不过使用了些符号使它变得有点枯燥
It's just some random chunk of four bytes that happens to be available at this point in time, but I can put something there.
只是一些随机的四字节的内存块,在这里是可以使用的,但是我可以在那里放置东西。
Mr.Obama's approval ratings average just below 50 percent in recent polls, down sharply from this time last year.
VOA: standard.2010.02.09
I'm actually going to skip over this for reasons of time and just go to some examples of the unconscious in modern psychology.
由于时间的关系我就不讲这个问题了,直接给大家举一些,现代心理学中的无意识的例子。
And this a time in the company where you just have to aspire with each hire to get an A rate plus person and it's easier said than done.
也就是说,在这个时代,招聘的标准就应该定为,招聘A或者A+的人,不过说起来容易做起来难。
Once I have it sorted I can search it in log n time, but that's still isn't as good as just doing n. And this led to this idea of amortization, which is I need to not only factor in the cost, but how am I going to use it?
一旦对其完成排序,就可以在log,n的时间内对其完成搜索,但是这样做仍然不如n的复杂度,这样做引出了耗时分摊的想法,这时不仅需要考虑耗时的因素?
And this was just a formal way of describing the best case running time and in the case of Selection Sort, what was the best case running time?
这是描述最好情况下运行时间的,一种正式的方式,在选择排序中,最理想的运行时间是多少呢?
Not to harp on the mathematical features of this, but cubing, AX*X*X you know, if you're starting to do AX star, X star, X, every time you want to cube some value in a program, it just feels like this is going to get a little messy looking, if nothing else.
不要总是说这个的数学特性,但是体积,你们懂的,如果你开始做,在一个程序中,每次你想算几个数值的体积,感觉它就变得,有一点凌乱的,如果没有其他的。
You can also get away, as I said last time, with just putting parentheses in JavaScript and PHP, this is, in fact, the norm.
就像我上次说的,你也可以不用参数,在JavaScript和PHP中只用圆括号,这实际上是一个规范。
应用推荐