[英]Python: 64bit Numpy?
I am currently working with numpy
on a 32bit system (Ubuntu 10.04 LTS).我目前正在 32 位系统(Ubuntu 10.04 LTS)上使用
numpy
。
Can I expect my code to work fluently, in the same manner, on a 64bit (Ubuntu) system?我可以期望我的代码在 64 位(Ubuntu)系统上以同样的方式流畅运行吗?
Does numpy
have an compatibility issues with 64bit python
? numpy
与 64 位python
是否存在兼容性问题?
NumPy has been used on 64-bit systems of all types for years now. NumPy 多年来一直用于所有类型的 64 位系统。 I doubt you will find anything new that doesn't show up elsewhere as well.
我怀疑你会发现任何其他地方也没有出现的新东西。
There are official Ubuntu packages and the installation instructions explicitly mention AMD64 as a target plattform: Installing SciPy/Linux .有官方的 Ubuntu 软件包,安装说明明确提到 AMD64 作为目标平台: 安装 SciPy/Linux 。
The code uses type identifiers with exact size definitions (eg "float64") internally, so the code will also be portable between plattforms.该代码在内部使用具有精确大小定义的类型标识符(例如“float64”),因此该代码也可以在平台之间移植。 You should notice a performance impact for the better or worse depending on the type of algorithms you run.
您应该注意到性能影响是好是坏,具体取决于您运行的算法类型。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.