inheriting a large python code base

Mark Lawrence breamoreboy at yahoo.co.uk
Sat Feb 15 19:10:20 CET 2014


On 15/02/2014 17:10, Rita wrote:
> hi all,
>
> i just inherited a large python code base and I would like to optimize
> the code (run faster). The application is a scientific application so I
> really don't understand the internal logic.
>
> Here is what I have done so far, profile (cProfile) and was able to see
> where the code was taking the longest time.
>
> I was wondering if anyone else experienced something like this and how
> they overcame a problem such a this…what techniques have you used to
> "optimize" the code.
>

https://wiki.python.org/moin/PythonSpeed/PerformanceTips

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com





More information about the Python-list mailing list