x
uploads/pyrex.jpg

pyrex n.派熱克斯玻璃,硼硅酸玻璃〔原是一種耐熱玻璃的商標名〕...

pyrexia

Gaining a few percent in speed differs from gaining 40 times like the pyrex home page - and many pyrex users - boast about 速度提高幾個百分比和pyrex主頁(以及很多pyrex用戶)那樣提高40倍有很大的差距。

I ve managed a slight improvement from native python , and a pretty good improvement over my initial pyrex module 我已經對原有的python進行了一些細微的改進,這可以稍微提高最初的pyrex模塊的速度。

In well - chosen cases , a pyrex module can run 40 - 50 times faster than a python version of the same module 在仔細選擇的情況中, pyrex模塊的速度可以比python版本的相同模塊的運行速度快40到50倍。

I might be able to squeeze a little bit out of concatenating pyrex c strings rather than python string objects , too 我可能需要使用pyrex / c的字符串連接操作,而不是python的字符串對象。

Of course , when you start talking about making python - like modules fast , pyrex is not the only tool there is 當然,當您開始談論加速(類) python模塊時, pyrex并不是惟一可用的工具。

I have just declared some variable types that i clearly know , and i used the cleanest pyrex counter loop 我只聲明了早已知道的一些變量類型,并使用最干凈的pyrex counter循環。

Is certainly not identical to those functions that can benefit from pyrex , but there is certainly some overlap 的涵蓋面當然與可以利用pyrex的函數不同,但是肯定會有一些重疊。

Of course , psyco only works on x86 platforms , whereas pyrex will work anywhere that has a c compiler 當然, psyco只能用于x86平臺,而pyrex可以在具有c編譯器的所有環境上執行。

For “ normal “ pyrex users , however , there is no reason to modify the generated c module 然而對于“普通的” pyrex用戶來說,沒有什么理由需要修改所生成的c模塊。

This pyrex function just barely differs from pure python - just a few declarations added 這個pyrex函數與純python的程序只有很少的不同:只是增加了幾個聲明:

Because the module runs slowly , maybe pyrex would be a good candidate for speeding it up 由于這個模塊的運行速度很慢,可能pyrex會是一個比較好的加速方法。

Will still be many times faster than either pyrex or psyco will get you assuming the c utility 的速度會比pyrex和psyco都快很多倍(當然,假設可以使用c工具

In language terms , pyrex is essentially just python with type declarations added in 按照語言的術語來說, pyrex本質上是在python中添加了類型聲明。

For the most part , pyrex runs faster than python by avoiding the need to continuously 對于大部分情況來說, pyrex不需要不斷對簡單數據類型變量進行

Even so , pyrex almost certainly represents the best you can do for this type of problem 即便如此, pyrex幾乎肯定可以代表這種問題的最佳狀況。

The lamp shade adopts pyrex with good light penetration and less penetration loss 玻璃罩材料為耐熱玻璃,透光性能好,透射損失小。

Pyrex is a language specially designed for writing python extension modules Pyrex是一種專門設計用來編寫python擴展模塊的語言。

The luminaire shade adopts pyrex glass with high light transmission 玻璃罩材料為耐熱玻璃,透光性能好,光通量損失小。

Although pyrex is not difficult either , psyco is childishly simple to use 雖然pyrex也并不難,但是psyco更加簡單易用。