Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3150117
  • 博文数量: 117
  • 博客积分: 10003
  • 博客等级: 上将
  • 技术积分: 5405
  • 用 户 组: 普通用户
  • 注册时间: 2007-01-23 09:34
文章分类

全部博文(117)

文章存档

2011年(1)

2010年(10)

2009年(69)

2008年(37)

分类: LINUX

2009-10-20 16:18:49

    目录

    This page is devoted to various tips and tricks that help improve the performance of your Python programs. Wherever the information comes from someone else, I've tried to identify the source.

    Python has changed in some significant ways since I first wrote my "fast python" page in about 1996, which means that some of the orderings will have changed. I migrated it to the Python wiki in hopes others will help maintain it.

    Note: You should always test these tips with your application and the version of Python you intend to use and not just blindly accept that one method is faster than another. Good suggestions on profiling your python code are found here (archived version):

    Also new since this was originally written are packages like , , and , which can dramatically improve your application's performance by making it easier to push performance-critical code into C or machine language.

    Other Versions

    • Russian:

    Overview: Optimize what needs optimizing

    You can only know what makes your program slow after first getting the program to give correct results, then running it to see if the correct program is slow.

    阅读(12791) | 评论(1) | 转发(0) |
    给主人留下些什么吧!~~

    chinaunix网友2010-10-24 17:07:25

    博主辛苦啦! 文章写的非常精彩! 受益匪浅! 技术需要实践!如需迅速掌握嵌入式核心开发技术 请关注“百度哥2010”的ARM11嵌入式“real6410”开发板 http://shop62249124.taobao.com/