PyPy: A Faster Python Implementation

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

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.


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

查看所有标签

猜你喜欢:

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

ACM程序设计

ACM程序设计

曾棕根 / 北京大学 / 2011-4 / 34.00元

《ACM程序设计(第2版)》详细讲解了ACM国际大学生程序设计竞赛(ACM/ICPC)编程、调试方法,以及提高时间、空间性能的策略,并充分利用了C++泛型编程的高效率、规范化的特性,全部采用C++泛型编程。第1章讲解了ACM程序设计入门知识;第2章讲解了C++泛型编程的容器、迭代器和常用算法;第3章讲解了ACM程序设计的基本编程技巧;第4章讲解了50道原版ACM竞赛题的解题思路,并配有C++泛型编......一起来看看 《ACM程序设计》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

SHA 加密
SHA 加密

SHA 加密工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具