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 的一个区域。
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作为工具。
In language terms, Pyrex is essentially just Python with type declarations added in.
按照语言的术语来说,Pyrex本质上是在Python中添加了类型声明。
Moreover, in many cases, a generic two lines enabling Psyco can produce an improvement similar to what you get though a moderate degree of rewriting from Python into Pyrex.
而且,在很多情况中,增加两行代码启用Psyco 就可以达到将Python 代码中度修改为Pyrex所能达到的加速效果。
Place the dried porcini mushrooms in a bowl or a Pyrex measuring cup, and pour on two cups boiling water.
将脱水牛肝菌置于一只碗或一只耐热量杯中,然后倒进两杯开水。
In particular, to use Pyrex, you write functions in a Python-like language that adds type-declarations to selected variables.
特别地,要使用Pyrex,需要用类似python的语言编写函数,这种语言将类型声明添加到所选变量中。
In the best case, Pyrex can indeed produce quite fast code.
在最好的情况中,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倍。
If a Python application encounters a significant bottleneck in numeric functions, creating Pyrex versions of those functions is very sensible.
如果Python应用程序碰到数值函数方面的明显瓶颈,为这些函数创建一个Pyrex版本就非常有意义。
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倍。
Made in America, Pyrex glass products are microwave and dishwasher safe.
在美国,高硼硅玻璃产品有微波炉和洗碗机。
This is essentially a tiny pit etched in silicon and sealed between two Pyrex wafers.
这基本上是一个很小的坑硅蚀刻和两高硼硅晶片密封。
This is essentially a tiny pit etched in silicon and sealed between two Pyrex wafers.
这基本上是一个很小的坑硅蚀刻和两高硼硅晶片密封。
应用推荐