Joshua Landau, 06.04.2013 12:27:
> On 5 April 2013 03:29, John Ladasky wrote:
>> I'm revisiting a project that I haven't touched in over a year. It was
>> written in Python 2.6, and executed on 32-bit Ubuntu 10.10. I experienced
>> a 20% performance increase when I used Psyco, because I had a
>>
On 2013-04-05 09:39, John Ladasky wrote:
On Friday, April 5, 2013 1:27:40 AM UTC-7, Chris Angelico wrote:
1) Can you optimize your algorithms? Three days of processing is... a LOT.
Neural network training. Yes, it takes a long time. Still, it's not the most
tedious code I run. I also do mo
On Apr 5, 7:29 am, John Ladasky wrote:
> I guess I can live with the 20% slower execution, but sometimes my code would
> run for three solid days...
Oooff! Do you know where your goal-posts are?
ie if your code were redone in (top-class) C or Fortran would it go
from 3 days to 2 days or 2 hours
On 5 April 2013 03:29, John Ladasky wrote:
> I'm revisiting a project that I haven't touched in over a year. It was
> written in Python 2.6, and executed on 32-bit Ubuntu 10.10. I experienced
> a 20% performance increase when I used Psyco, because I had a
> computationally-intensive routine whi
On 5 April 2013 19:37, Devin Jeanpierre wrote:
> On Fri, Apr 5, 2013 at 4:34 AM, John Ladasky
> wrote:
> > On Thursday, April 4, 2013 7:39:16 PM UTC-7, MRAB wrote:
> >> Have you looked at Cython? Not quite the same, but still...
> >
> > I'm already using Numpy, compiled with what is supposed to
On Fri, Apr 5, 2013 at 12:13 PM, John Ladasky
wrote:
> On Friday, April 5, 2013 10:32:21 AM UTC-7, Ian wrote:
>
>> That doesn't seem to follow from your original post. Because Numpy is
>> a C extension, its performance would not be improved by psyco at all.
>
> What about the fact that Numpy acco
On Fri, Apr 5, 2013 at 4:34 AM, John Ladasky wrote:
> On Thursday, April 4, 2013 7:39:16 PM UTC-7, MRAB wrote:
>> Have you looked at Cython? Not quite the same, but still...
>
> I'm already using Numpy, compiled with what is supposed to be a fast LAPACK.
> I don't think I want to attempt to impr
On Friday, April 5, 2013 10:32:21 AM UTC-7, Ian wrote:
> That doesn't seem to follow from your original post. Because Numpy is
> a C extension, its performance would not be improved by psyco at all.
What about the fact that Numpy accommodates Python's dynamic typing? You can
pass arrays of int
On Fri, Apr 5, 2013 at 2:39 AM, John Ladasky wrote:
>> 2) Rewrite some key portions in C, possibly using Cython (as MRAB suggested).
>
> And as I replied to MRAB, my limiting code is within Numpy. I've taken care
> to look for ways that I might have been using Numpy itself inefficiently (and
>
On 05/04/13 03:29, John Ladasky wrote:
I'm revisiting a project that I haven't touched in over a year. It was written
in Python 2.6, and executed on 32-bit Ubuntu 10.10. I experienced a 20%
performance increase when I used Psyco, because I had a
computationally-intensive routine which occupi
Have you looked into numba? I haven't checked to see if it's python 3
compatible.
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, Apr 5, 2013 at 7:39 PM, John Ladasky wrote:
> On Friday, April 5, 2013 1:27:40 AM UTC-7, Chris Angelico wrote:
>> 1) Can you optimize your algorithms? Three days of processing is... a LOT.
>
> Neural network training. Yes, it takes a long time. Still, it's not the
> most tedious code I
On Friday, April 5, 2013 1:27:40 AM UTC-7, Chris Angelico wrote:
> 1) Can you optimize your algorithms? Three days of processing is... a LOT.
Neural network training. Yes, it takes a long time. Still, it's not the most
tedious code I run. I also do molecular-dynamics simulations with GROMACS,
On Thursday, April 4, 2013 7:39:16 PM UTC-7, MRAB wrote:
> Have you looked at Cython? Not quite the same, but still...
I'm already using Numpy, compiled with what is supposed to be a fast LAPACK. I
don't think I want to attempt to improve on all the work that has gone into
Numpy.
--
http://ma
On Fri, Apr 5, 2013 at 1:29 PM, John Ladasky wrote:
> I'm revisiting a project that I haven't touched in over a year. It was
> written in Python 2.6, and executed on 32-bit Ubuntu 10.10. I experienced a
> 20% performance increase when I used Psyco, because I had a
> computationally-intensive
On 05/04/2013 03:29, John Ladasky wrote:
I'm revisiting a project that I haven't touched in over a year. It
was written in Python 2.6, and executed on 32-bit Ubuntu 10.10. I
experienced a 20% performance increase when I used Psyco, because I
had a computationally-intensive routine which occupie
I'm revisiting a project that I haven't touched in over a year. It was written
in Python 2.6, and executed on 32-bit Ubuntu 10.10. I experienced a 20%
performance increase when I used Psyco, because I had a
computationally-intensive routine which occupied most of my CPU cycles, and
always rec
17 matches
Mail list logo