So we see that I've doubled the size of the vector but I've much more than doubled the number of calls.
所以我们看到我,把向量的大小翻倍了,但是我调用的次数,不仅仅是翻倍了。
So this particular vector, you probably can't even see the whole thing on your screen. Well, it's got 40 items in it.
这个特殊的向量,在你的屏幕上可能都看不全,好的,它一共包括40件物品。
i It takes i, which is in some sense 1 the length of those vectors, minus 1, because of the way Python works.
还有i,某种意义上,是那些向量的长度减,减1由于Python的工作方式。
应用推荐