手机版
你好,游客 登录 注册
背景:
阅读新闻

PyPy 2.4 发布下载,Python 解释器

[日期:2014-09-23] 来源:oschina.net  作者:Linux [字体:大 中 小]

PyPy 2.4 发布,此版本现已提供下载,跟往常一样,提升了系统性能。此版本改进了 Bencmarks,改进了字符串和字节数组的处理;重写了 GIL 处理。这都提升了外部调用的速度,特别是 CFFI。同时还包括了许多 Python 2.7.8 标准库的 bug 修复和更新。

值得关注的改进:

  • Reduced internal copying of bytearray operations

  • Tweak the internal structure of StringBuilder to speed up large string handling, which becomes advantageous on large programs at the cost of slightly slower small benchmark type programs.

  • Boost performance of thread-local variables in both unjitted and jitted code, this mostly affects errno handling on linux, which makes external calls faster.

  • Move to a mixed polling and mutex GIL model that make mutlithreaded jitted code run much faster

  • Optimize errno handling in linux (x86 and x86-64 only)

  • Remove ctypes pythonapi and ctypes.PyDLL, which never worked on PyPy

  • Fix performance regression on ufunc(<scalar>, <scalar>) in numpy

  • Classes in the ast module are now distinct from structures used by the compiler, which simplifies and speeds up translation of our source code to the PyPy binary interpreter

  • Upgrade stdlib from 2.7.5 to 2.7.8

  • Win32 now links statically to zlib, expat, bzip, and openssl-1.0.1i. No more missing DLLs

  • Many issues were resolved since the 2.3.1 release on June 8

更多内容请看发行说明。

PyPy 是用Python实现的Python解释器。

PyPy是,Python开发者为了更好的Hack Python创建的项目。此外,PyPy比CPython是更加灵活,易于使用和试验,以制定具体的功能在不同情况的实现方法,可以很容易实施。 该项目的目标是,让PyPy比C实现的Python更为容易的适应各个项目和方便裁剪。

CentOS 上安装 PyPy 做简单测试 http://www.linuxidc.com/Linux/2014-08/105982.htm

PyPy运行Django+MySQL简单教程 http://www.linuxidc.com/Linux/2013-07/87217.htm

PyPy 的详细介绍:请点这里
PyPy 的下载地址:请点这里

本文永久更新链接地址:http://www.linuxidc.com/Linux/2014-09/107044.htm

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款