And those instructions, by the way, are very simple: they're things like, take the value out of two places in memory, and run them through the multiplier in here, a little piece of circuitry, and stick them back into someplace in memory.
顺便说一句,那些指令非常简单:,他们从记忆存储器中,取出两个位置的结果,在倍增器中运行,一小部分电路,再将它们插回存储器中的某些地方去。
Right. Those things are going to stack up, and eventually it's going to run out of space.
不用占用其他空间的算法,对,这些东西在运行的过程中会累积起来。
It took me seven comparisons, because I can take advantage of the fact I know I only ever have to look at the first element of each sub-list. Those are the only things I need to compare, and when I run out of one list, I just add the rest of the list in.
进行了7次对比,因为我可以利用我知道的优势:,每次只需要比较每个子列表的第一个元素,那才是我需要进行对比的内容,当一个列表的元素处理完了,只需要将另一个列表剩下的元素直接添加进去。
应用推荐