We just go through the list top to bottom, left to right, and cross names off as we go.
我们会从上到下,从左到右看那个问题清单,如果解决了就把名字擦掉。
- Parses through them, which means to read through this-- what are really just text files, top to bottom, left to right.
从语法上分析它们,这就是说要阅读它-,实际上是一个文本文件,从上到下,从左到右。
So in your mind, if you are now the computer program and you are executing this thing from top to bottom, what just has happened verbally is we are stepping into the line of code that says sort left half of elements.
在你们看来,如果你现在是计算机程序,正在从上到下执行一系列指令,刚才所发生的就是我们现在已执行到了这行代码,它告诉你要对左半部分的元素排序。
But very soon will you find that if you're writing programs with lots and lots of functions, and some might call these, and these might call these, you can come up very soon with scenarios where you can not order them top to bottom, because everything is comingled, and there's a lot of cross talk among all of your functions.
但是不久后你们会发现你们写的程序中,有很多很多的函数,有的函数调用这些函数,这些函数又调用另外的函数,你不能用脚本,把它们从上到下排序,因为所有函数相互混合,在你的函数中也有很多交叉。
So you can think of it as left or right, top to bottom, or whatever, the point is they come next in RAM.
你可以想象它们为left或者right,从上到下,要点是它们在内存中紧随其后。
应用推荐