Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #66466

Re: inheriting a large python code base

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: inheriting a large python code base
Date 2014-02-15 18:10 +0000
References <CAOF-KfiD=UgMg7GHiiPiT47zETJmrkicX4YTrxfh4=T2FSq64Q@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.7013.1392487839.18130.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: inheriting a large python code base Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-02-15 18:10 +0000

csiph-web