首页> 外文会议>International Conference on Intelligent Computing and Integrated Systems >Comparative research on Python speed optimization strategies
【24h】

Comparative research on Python speed optimization strategies

机译:Python速度优化策略的比较研究

获取原文

摘要

Python script language offers high development efficiency, abundant and versatile libraries; as a result nowadays it is used in a wide range of research projects and products domains. However, Python's interpretation characteristic becomes a speed bottleneck in some case, especially for extensive numerical operations. To solve this problem, many technologies to optimize Python are proposed. In this paper, we summarize the existing technologies and catalog them into 3 classes. The principles of respective technologies are explained. Experiments on representative Python codes are carried out, and then the speed performance, advantages and disadvantages are compared and explained in details. The experiment results reveal that Python codes can speed up by using feasible algorithm, or caching policies without resort to any external tools. Tools, such as Shed-skin and psyco, can enhance the speed performance with the minimal modification on original Python code models. Using extension libraries in static languages has a great advantage over other methods in the efficiency, which can supply a very higher speed raise. Thus in a particular situation, in order to get a desirable performance, the user should choose and resort to applicable technology according to the requirements.
机译:Python脚本语言提供高开发效率,丰富和多功能的图书馆;结果,如今,它用于各种研究项目和产品域。然而,在某些情况下,Python的解释特性成为一种速度瓶颈,特别是对于广泛的数值操作。为了解决这个问题,提出了许多优化Python的技术。在本文中,我们总结了现有技术并将它们目录成3个课程。解释了各种技术的原理。进行了代表性Python代码的实验,然后比较速度,优点和缺点并详细解释。实验结果表明,Python代码可以通过使用可行的算法来加速,或者在没有对任何外部工具的情况下进行缓存策略。棚皮和PSYCO等工具可以提高原始Python代码模型的最小修改速度性能。在静态语言中使用扩展库在其他方法中具有很大的优势,效率可以提供非常高的速度升高。因此,在特定情况下,为了获得理想的性能,用户应根据要求选择和度假术。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号