在我的桌面计算机上,一百万次迭代需要大约 12 秒钟才能完成。
On my desktop machine, one million iterations takes about 12 seconds to complete. The pooling code avoids the allocation of the MyClass object within the loop
即使同一台计算机很可能已经连续完成同样的运算达数百万次之多,但每当它重复这一运算时都得准确地告诉它如何去完成这一运算。
Even though the same computer might have performed the same operation millions of times in succession, it must still be told exactly how to do that operation every time it repeats it.
应用推荐