On 23 August 2013 16:59, Benjamin Root wrote:
> A lot of the code you have here can be greatly simplified. I would start
> with just trying to get rid of appends as much as possible and use
> preallocated arrays with np.empty() or np.ones() or the likes.
Also, if you don't know beforehand the fin
On Fri, Aug 23, 2013 at 10:34 AM, Francesc Alted wrote:
> Hi José,
>
> The code is somewhat longish for a pure visual inspection, but my advice
> is that you install memory profiler (
> https://pypi.python.org/pypi/memory_profiler). This will help you
> determine which line or lines are hugging t
Hi José,
The code is somewhat longish for a pure visual inspection, but my advice is
that you install memory profiler (
https://pypi.python.org/pypi/memory_profiler). This will help you
determine which line or lines are hugging the memory the most.
Saludos,
Francesc
On Fri, Aug 23, 2013 at 3:58