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


Groups > comp.lang.python > #66459

inheriting a large python code base

Date 2014-02-15 12:10 -0500
Subject inheriting a large python code base
From Rita <rmorgan466@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.7008.1392484241.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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.




-- 
--- Get your facts first, then you can distort them as you please.--

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


Thread

inheriting a large python code base Rita <rmorgan466@gmail.com> - 2014-02-15 12:10 -0500
  Re: inheriting a large python code base craig@milhiser.com - 2014-02-21 13:36 -0800

csiph-web