DocumentCode
3389652
Title
Comparative research on Python speed optimization strategies
Author
Jun, Li ; Ling, Li
Author_Institution
Sch. of Electron. Eng., Guilin Univ. of Electron. & Technol., Guilin, China
fYear
2010
fDate
22-24 Oct. 2010
Firstpage
57
Lastpage
59
Abstract
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.
Keywords
authoring languages; cache storage; codes; libraries; optimisation; Python codes; Python script language; Python speed optimization strategies; cache memory; libraries; research projects; speed performance; static languages; Educational institutions; Laser modes; MATLAB; Mathematical model; Random access memory; algorithms; cache memory; computer programming; libraries; optimization;
fLanguage
English
Publisher
ieee
Conference_Titel
Intelligent Computing and Integrated Systems (ICISS), 2010 International Conference on
Conference_Location
Guilin
Print_ISBN
978-1-4244-6834-8
Type
conf
DOI
10.1109/ICISS.2010.5655011
Filename
5655011
Link To Document