Pyrex
n. 派热克斯玻璃(一种耐热玻璃)
2025-10-09 15:04 浏览次数 9
n. 派热克斯玻璃(一种耐热玻璃)
Pyrex wool耐热玻璃棉
Pyrex sphere耐热硬质玻璃球
Pyrex Bracelet耐热玻璃手镯
Pyrex Beaker耐热烧杯
glass pyrex派瑞克斯玻璃
Pyrex x派热克斯玻璃
Pyrex Bulb硬质玻璃瓶
coated Pyrex镀铝荧光屏
pyrex glass派热克斯玻璃;高耐火玻璃;高硬玻璃;高硅玻璃
Pyrex Flask采样瓶
I also wrote the same function as actual Python, basically just by taking the declarations back out. Running the Pyrex and Python versions, and also a Psyco-ized Python version gives these times.
我也编写了一个与实际的Python函数相同的函数,基本来说,只是去掉这些声明。
For code that works with simple numeric or character data in tight loops, Pyrex can produce significant speedups, maybe 50 times the speed in best cases.
对于在循环中使用简单的数字或字符数据的代码来说,Pyrex的加速效果非常明显,在最佳情况中,可能会是50倍。
Code that spends most of its time making library calls is just not going to benefit that much from Pyrex speeding up incidental loop overhead.
花费大部分时间在库函数调用上的代码不会像那些简单循环任务一样使用Pyrex可以获得明显的加速。
Of course, when you start talking about making Python (-like) modules fast, Pyrex is not the only tool there is.
当然,当您开始谈论加速(类)Python模块时,Pyrex并不是惟一可用的工具。
Because the module runs slowly, maybe Pyrex would be a good candidate for speeding it up. At least that was my thought.
由于这个模块的运行速度很慢,可能Pyrex会是一个比较好的加速方法。
I have just declared some variable types that I clearly know, and I used the cleanest Pyrex counter loop.
我只声明了早已知道的一些变量类型,并使用最干凈的Pyrexcounter循环。
If a Python application encounters a significant bottleneck in numeric functions, creating Pyrex versions of those functions is very sensible.
如果Python应用程序碰到数值函数方面的明显瓶颈,为这些函数创建一个Pyrex版本就非常有意义。
I need to take advantage of Pyrex variable declarations to get a speedup.
我需要利用Pyrex变量声明的优点来进行加速。
Pyrex (the tool) processes 「.pyx 」files into「.c 」extensions.
py rex(工具)将「。py x」文件处理成「。c」扩展名的文件。
Another option to think about, however, in writing specialized numeric functions using Pyrex is whether Numerical Python might be a suitable tool for your work.
然而,在使用Pyrex编写特殊的数值函数时,另外一个需要考虑的选项是是否可以使用NumericalPython作为工具。
For 「normal」 Pyrex users, however, there is no reason to modify the generated C module.
然而对于「普通的」Pyrex用户来说,没有什么理由需要修改所生成的c模块。
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倍。
For example, the Pyrex home page prominently features a numeric-intensive function for calculating a list of initial prime Numbers.
例如,Pyrex主页上使用一个计算素数列表的数学函数来宣扬这个特性。
In language terms, Pyrex is essentially just Python with type declarations added in.
按照语言的术语来说,Pyrex本质上是在Python中添加了类型声明。
On the other hand, a C or Pyrex int variable is just a region in memory with some bits set to ones or zeros.
另外一方面,C或Pyrex 的int变量只是内存中各个位设置为1或0 的一个区域。
You can distribute binary Pyrex modules, but for your module to work elsewhere, you must match the Python version, architecture, and optimization flags that the end user needs.
虽然您可以分发二进制的Pyrex模块,但是为了能使您的模块在其他地方也可以运行,Python的版本、架构和终端用户需要的优化选项必须匹配。
Pyrex and heat-proof porcelain are fine but fragile.
耐热玻璃和耐热瓷器好虽好但又容易损坏。
Pyrex is a language specially designed for writing Python extension modules.
Pyrex是一种专门设计用来编写Python扩展模块的语言。
Place the dried porcini mushrooms in a bowl or a Pyrex measuring cup, and pour on two cups boiling water.
将脱水牛肝菌置于一只碗或一只耐热量杯中,然后倒进两杯开水。