首页> 外文会议>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代码的速度,而无需使用任何外部工具。 Shed-skin和psyco等工具可以通过对原始Python代码模型进行最少的修改来提高速度性能。与其他方法相比,使用静态语言的扩展库在效率方面具有很大的优势,可以大大提高速度。因此,在特定情况下,为了获得理想的性能,用户应根据要求选择并诉诸适用的技术。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号