推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
est
V2EX  ›  Python

Intel 大法好: switch 改 goto 优化 bytecode, py 2.7 提速 20%

  •  
  •   est ·
    est · Jun 5, 2015 · 5022 views
    This topic created in 4169 days ago, the information mentioned may be changed or developed.
    http://lwn.net/SubscriberLink/646888/26048607aedebe3d/

    表示py 2.7还可以再战1000年。

    python-dev都为了2.x vs py3k政治话题吵成狗了。什么破事都要py3k blah blah blah 一下。真心无聊啊!
    10 replies  •  2015-06-06 09:44:56 +08:00
    NemoAlex
    NemoAlex
    Jun 5, 2015
    1
    感觉最近几年楼主越来越水了,是不是感情失意/得意造成的?
    efi
    efi
    Jun 5, 2015
    2
    re
    efi
    efi
    Jun 5, 2015
    3
    热
    nicai000
    nicai000
    Jun 5, 2015
    4
    @NemoAlex 可能是博客内容丢失导致的 ...
    imn1
    imn1
    Jun 5, 2015
    5
    py2本来就比py3快
    py2最头痛问题始终是编码,虽然也能解决,但需要掌握的编码知识比py3多,py3处理编码简单很多
    est
    est
    OP
    Jun 5, 2015
    6
    @NemoAlex 我一直很水,你之前没见过我在“别的论坛”灌水而已。。。。

    还有,就是上班略无聊。hahaha
    efi
    efi
    Jun 5, 2015 via Android
    7
    bump
    est
    est
    OP
    Jun 5, 2015
    8
    @nicai000 其实内容都还躺在我硬盘上。。。

    在线的丢了也好,免得被人挖坟放嘲讽。我看到好多大牛(e.g. 李笑来)都习惯性定期删微博、朋友圈什么的了。向他们学习。


    @imn1 这楼不仅歪得厉害,还被某人水了。。。
    janxin
    janxin
    Jun 5, 2015
    9
    py3的async看起来不错,虽然现在只能在tornado里面试试coruntine。
    kokutou
    kokutou
    Jun 6, 2015 via Android
    10
    初学py2的时候被编码坑成狗。。。然后现在还是只会py3。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4458 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 05:42 · PVG 13:42 · LAX 21:42 · JFK 00:42
    ♥ Do have faith in what you're doing.