You don't have to swap around what you are tracking as much.
你不再需要频繁的切换追踪了。
However, this will let the linker know additional information about the function, including which TOC it is using, so it can emit the code to swap these around if necessary.
然而,这可以让链接器知道有关函数的其他信息,包括它使用的是哪个TOC,这样如果需要,就可以产生代码来在TOC之间进行切换了。
When your main drive needs looking at, you just swap them around.
要看主驱动时,只需切换它们。
I get to the end of the loop, and I actually do a little bit of wasted motion there. And the little bit of wasted motion is, I take the value at i, store it away temporarily, take the value where min index is pointing to, put it back in there, and then swap it around.
我走到了循环的末尾,事实上我做了多余的动作了,有点多余的是我把i的值,临时保存起来了,看看MinIndex指向的值,放回到哪里,然后再交换。
应用推荐