未修改过的基准代码的运行时间大约为30分钟,要求参赛者改进它,让它运行得更快。
The benchmark unchanged took about 30 minutes to run and I challenged participants to make it run faster.
Psyco的妙处在于可以使用您一直在编写的Python代码(完全一样!),却可以让它运行得更快。
The nice thing about Psyco is that you can use the very same Python code you have been writing all along (literally!), but let it run much faster.
然而,您真正希望使用 Pyrex 的原因是它编写的模块比纯 Python 运行得更快,可能会快很多。
The reason you actually want to use Pyrex, however, is to write modules that run faster -- maybe a lot faster -- than pure Python can possibly run.
应用推荐