• What lambda that does, it creates on the fly a function, as the program runs. That I can then pass around.

    这里的入函数运行的时候,由一个函数创建的,然后我会传递这个值。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Like, um, in our Psych. class, we set up an experiment to study how memory works,

    嗯,我们心理班做一个实验,研究记忆怎么运行的,

    乐团怎么样? - SpeakingMax英语口语达人

  • Whereas in the linear case, I make it ten times bigger, it takes ten times longer to run. OK.

    它要占用原来十倍的时间去运行,我一直说还有一件事情没有讲,这我要强调的最后一件事。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • But it turns out that on Macs and if you have the right software on PCs, you can kind of get a teaser of what this environment tends to look like and be forewarned, what you're about to see is intentionally very underwhelming.

    事实上,它运行苹果机上的,如果你电脑上有正确的软件,可以去看看这个环境大致怎么样的,提前说下,这个程序不会让你印象深刻,我故意这样做的。

    哈佛公开课 - 计算机科学课程节选

  • Run merge sort on those. By induction, if it does the right thing, I'm going to get back two lists, and I'm going to then merge Them together. Notice what I'm going to do.

    这些上面再运行归并排序,根据归纳,如果这样正确的,我将重新得到两个列表,然后我会把它们合并一起。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Code is right here. And all it's doing is when I'm getting into the different places I'm simply printing out information about where I am. What I want you to see palindrome is notice what happened here.

    代码就这儿,它的作用当我运行到不同地方时,就输出我所方位的信息,我想让你们看的就注意这儿发生了什么,好了我调用了一个。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • And so what I see is that as I run this, I'm doing a lot of redundant computation.

    因此我这里,看到的随着我的运行,我将会进行很多冗余的计算。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • And so you care-- you care about ultimately how much time is my algorithm gonna take to perform on that worst case running time.

    因此你最终所关心的,算法最坏情况下需要多长的,运行时间。

    哈佛公开课 - 计算机科学课程节选

  • 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?

    描述最好情况下运行时间的,一种正式的方式,选择排序中,最理想的运行时间多少呢?

    哈佛公开课 - 计算机科学课程节选

  • And that does two things: bug one, it helps catch bugs in your code, and secondly it often converts it into a more efficient sequence of instructions before you actually go off and run it. All right?

    这有两点好处:,第一可以帮助你发现程序中的,第二把你的代码,在运行之前,转换为更有效率的指令的集合,对不对?

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So, an alternative to that that is incredibly common in just the programming world and in industry is to actually not write programs on your own personal computer but to actually write and run them on a server, someplace where the software is all standardized.

    那么,编程界和工业界普遍,使用的一个解决方案,不你自己的电脑上写程序,而服务器上编程运行,服务器上的软件都标准化的。

    哈佛公开课 - 计算机科学课程节选

  • All right? A linear search, I start at the beginning of the list and walk all the way through it. All right, if I'm lucky and it's at the low end, If it's not, if it's at the far end, I've got to go forever, and you saw that last time where this thing paused for a little while while it actually searched a list this big.

    如果很幸运就开头,那运行起来很快,如果末尾,那就一直得走到头,上次看到了,如果搜索空间很大,程序都会暂停一会,好的,那我希望你们。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • But here I want it to be determined, chosen at run time.

    这里我想要让它一个由运行时间。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So what's going to happen here? If I'm inside this FOR, OK, and I'm running around, if I ever hit a place where this test is true, I'm going to execute that return, return that return returns from the entire procedure. OK? So the return comes back from the procedure.

    那么这里发生了什么呢?,如果我这个for循环里面,我正在运行,如果我运行到test的值为真的地方,我就会执行,这个return将会返回整个程序的值,明白了吗?所以它将会从整个程序中返回值。

    麻省理工公开课 - 计算机科学及编程导论课程节选

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定