PyPy: A Faster Python Implementation

栏目: IT技术 · 发布时间: 3年前

PyPy: A Faster Python Implementation

A fast ,compliant alternative implementation of Python

Get Started : Download and install

What is PyPy : Features

Documentation (external link)

On average, PyPy is 4.4 times faster than CPython

PyPy: A Faster Python Implementation

PyPy trunk (with JIT) benchmark times normalized to CPython. Smaller is better. Based on the geometric average of all benchmarks

"If you want your code to run faster,
you should probably just use PyPy."
-- Guido van Rossum (creator of Python)

Advantages and distinct Features

  • Speed:thanks to its Just-in-Time compiler, Python programs often runfaster on PyPy. (What is a JIT compiler?)

  • Memory usage:memory-hungry Python programs (several hundreds of MBs or more) might end up taking less space than they do in CPython.

  • Compatibility:PyPy ishighly compatible with existing python code. It supports cffi , cppyy , and can run popular python libraries like twisted and django .

  • Stackless:PyPy comes by default with support forstackless mode, providing micro-threads for massive concurrency.

  • As well as otherfeatures.


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

算法精解

算法精解

Kyle Loudon / 肖翔、陈舸 / 机械工业出版社 / 2012-8 / 79.00元

本书是数据结构和算法领域的经典之作,十余年来,畅销不衰!全书共分为三部分:第一部分首先介绍了数据结构和算法的概念,以及使用它们的原因和意义,然后讲解了数据结构和算法中最常用的技术——指针和递归,最后还介绍了算法的分析方法,旨在为读者学习这本书打下坚实的基础;第二部分对链表、栈、队列、集合、哈希表、堆、图等常用数据结构进行了深入阐述;第三部分对排序、搜索数值计算、数据压缩、数据加密、图算法、几何算法......一起来看看 《算法精解》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具