PyPy: A Faster Python Implementation

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

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.


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

查看所有标签

猜你喜欢:

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

算法设计与分析

算法设计与分析

屈婉玲、刘田、张立昂、王捍贫 / 清华大学 / 2011-5 / 25.00元

《算法设计与分析》为计算机科学技术专业核心课程“算法设计与分析”教材.全书以算法设计技术和分析方法为主线来组织各知识单元,主要内容包括基础知识、分治策略、动态规划、贪心法、回溯与分支限界、算法分析与问题的计算复杂度、NP完全性、近似算法、随机算法、处理难解问题的策略等。书中突出对问题本身的分析和求解方法的阐述,从问题建模、算法设计与分析、改进措施等方面给出适当的建议,同时也简要介绍了计算复杂性理论......一起来看看 《算法设计与分析》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

html转js在线工具
html转js在线工具

html转js在线工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具