And as you might expect, I'm going to then try and see if I can convert that into a float.
正如你希望的我要试着把他们转化为浮点数,等一等。
If I look for, say, minus 1, you might go, gee, wait a minute, if I was just doing linear search, I would've known right away that minus one wasn't in this list, because it's sorted and it's smaller than the first elements.
如果我要查找-1,你可能要怒了,呵呵,等一等,如果我用的是线性查找,我不会知道-1不在这个列表中,但是列表是排好序的,1又比第一个元素小。
Well, you can't adopt the policy of "I'm going to wait for this pig to dance " and when it does I'm going to reinforce it" because it's going to take you a very long time.
那么,你就不能说,“我要等这头猪跳舞,然后再对它进行强化“,因为这会花掉你很长的时间。
应用推荐