On 26/06/2014 17:49, CM wrote:
I'm reposting my question with, I hope, better
formatting:
I occasionally hear about performance improvements
for Python by various projects like psyco (now old),
ShedSkin, Cython, PyPy, Nuitka, Numba, and probably
many others. The benchmarks are out there, and t
I'm reposting my question with, I hope, better
formatting:
I occasionally hear about performance improvements
for Python by various projects like psyco (now old),
ShedSkin, Cython, PyPy, Nuitka, Numba, and probably
many others. The benchmarks are out there, and they
do make a difference,
On Wed, 25 Jun 2014 20:54:29 -0700, CM wrote:
> I occasionally hear about performance improvements for Python by various
> projects like psyco (now old), ShedSkin, Cython, PyPy, Nuitka, Numba,
> and probably many others. The benchmarks are out there, and they do
> make a difference, and sometimes
I occasionally hear about performance improvements for Python by various
projects like psyco (now old), ShedSkin, Cython, PyPy, Nuitka, Numba, and
probably many others. The benchmarks are out there, and they do make a
difference, and sometimes a difference on par with C, from what I've heard.
Comparing CPython, PyPy, SciPy, Parakeet and Numba for writing image
filters:
http://www.phi-node.com/2013/06/faster-morphological-image-filters-in.html
--
Steven
--
http://mail.python.org/mailman/listinfo/python-list
Thats awesome. Its time I migrate to 3 :)
On Fri, Apr 8, 2011 at 11:29 PM, Raymond Hettinger wrote:
> On Apr 8, 12:25 am, Chris Angelico wrote:
> > On Fri, Apr 8, 2011 at 5:04 PM, Abhijeet Mahagaonkar
> >
> > wrote:
> > > I was able to isolate that major chunk of run time is eaten up in
> open
On Apr 8, 12:25 am, Chris Angelico wrote:
> On Fri, Apr 8, 2011 at 5:04 PM, Abhijeet Mahagaonkar
>
> wrote:
> > I was able to isolate that major chunk of run time is eaten up in opening a
> > webpages, reading from them and extracting text.
> > I wanted to know if there is a way to concurrently c
On 08/04/2011 11:31 AM, Chris Angelico wrote:
On Sat, Apr 9, 2011 at 12:41 AM, MRAB wrote:
On 08/04/2011 08:25, Chris Angelico wrote:
[snip]
I don't know what's the most Pythonesque option, but if you already
have specific Python code for each of your functions, it's probably
going to be easi
On Sat, Apr 9, 2011 at 12:41 AM, MRAB wrote:
> On 08/04/2011 08:25, Chris Angelico wrote:
> [snip]
>>
>> I don't know what's the most Pythonesque option, but if you already
>> have specific Python code for each of your functions, it's probably
>> going to be easiest to spawn threads for them all.
On 08/04/2011 08:25, Chris Angelico wrote:
[snip]
I don't know what's the most Pythonesque option, but if you already
have specific Python code for each of your functions, it's probably
going to be easiest to spawn threads for them all.
"Pythonesque" refers to "Monty Python's Flying Circus". Th
On Fri, Apr 8, 2011 at 5:04 PM, Abhijeet Mahagaonkar
wrote:
> I was able to isolate that major chunk of run time is eaten up in opening a
> webpages, reading from them and extracting text.
> I wanted to know if there is a way to concurrently calling the functions.
So, to clarify: you have code th
Dear Pythoners,
I have written a python application which authenticates a user, reads a
webpage and searches for pattern and builds a database ( In my case its a
dictinary with fixed set of keys).
Inputting the username and password for authentication and final display of
the results is done by GUI
[rbt]
>> Here's a quick and dirty version of winver.exe written in Python:
[Tim Golden]
> In short, I recommend replacing the wmi module by the underlying
> calls which it hides, and replacing Tkinter by a win32gui MessageBox.
[rbt]
>Wow... thanks. I didn't expect someone to completely rewrite it
Tim Golden wrote:
> [rbt]
>
>> Here's a quick and dirty version of winver.exe written in Python:
>
> [.. snip ..]
>
>> It uses wmi to get OS information from Windows... it works well, but
>> it's slow... too slow. Is there any way to speed up wmi?
>
>> In the past, I used the platform and sys
[rbt]
> Here's a quick and dirty version of winver.exe written in Python:
[.. snip ..]
> It uses wmi to get OS information from Windows... it works well, but
> it's slow... too slow. Is there any way to speed up wmi?
> In the past, I used the platform and sys modules to do some of what
> winv
Here's a quick and dirty version of winver.exe written in Python:
http://filebox.vt.edu/users/rtilley/public/winver/winver.html
It uses wmi to get OS information from Windows... it works well, but
it's slow... too slow. Is there any way to speed up wmi?
In the past, I used the platform and sys
James Carroll wrote:
> It looks like your algorithm really does iterate over all values for
> six variables and do lots of math.. then you can't do any better than
> implementing the inner loop in C.
Or Pyrex ...
http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
For this type of situation, Py
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I appreciate everyone's help!
I got some ideas that I'll try to put into practice.
Regards,
Luis
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCi7QQHn4UHCY8
It looks like your algorithm really does iterate over all values for
six variables and do lots of math.. then you can't do any better than
implementing the inner loop in C. It does look like you have some
functions that are being called that are also in python, and it would
be interesting to see i
On 2005-05-18, Luis P. Mendes <[EMAIL PROTECTED]> wrote:
> I have a 1000 line python script that takes many hours to
> finish. It is running with six inside 'for' loops.
[...]
> How can I dramatically improve speed?
In probably order of efficacy:
1) Use a better algorithm
2) Replace 'for'
Quick tip-
Try xrange instead of range. This will use dramatically less memory
if your search space is large, which will speed things up /if/ your
machine is being forced to swap.
Besides that, without seeing the code for your functions, it's hard to
offer more advice. Your algorithm is necess
On Wed, 18 May 2005 12:56:50 +0100,
"Luis P. Mendes" <[EMAIL PROTECTED]> wrote:
> The reason why I'm using six nested for loops is because I need to find
> the best output using those six variables as input.
> Here's the simplified code:
> for per in range():
> ~for s in range():
> ~
Luis P. Mendes wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> The reason why I'm using six nested for loops is because I need to find
> the best output using those six variables as input.
>
> Here's the simplified code:
>
> for per in range():
> ~for s in range():
> ~fo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The reason why I'm using six nested for loops is because I need to find
the best output using those six variables as input.
Here's the simplified code:
for per in range():
~for s in range():
~for t in range():
for v in range()
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wed, 18 May 2005, Luis P. Mendes wrote:
> Hi,
>
> I have a 1000 line python script that takes many hours to finish. It is
> running with six inside 'for' loops.
>
> I've searched the net for ways to speed up the proccess.
>
> Psyco improves per
"Luis P. Mendes" <[EMAIL PROTECTED]> writes:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi,
>
> I have a 1000 line python script that takes many hours to finish.
> It is running with six inside 'for' loops.
>
> I've searched the net for ways to speed up the proccess.
>
> Psyco improves
You may want to read through this case study by the BDFL.
http://www.python.org/doc/essays/list2str.html
On Tuesday 17 May 2005 05:32 pm, Luis P. Mendes wrote:
> Hi,
>
> I have a 1000 line python script that takes many hours to finish. It is
> running with six inside 'for' loops.
>
> I've search
Without seeing any code, it's hard to tell, but it's not a wild guess
that 'six inside for loops' may be replaced by more efficient ways ;-)
--
http://mail.python.org/mailman/listinfo/python-list
Luis P. Mendes wrote:
> I have a 1000 line python script that takes many hours to finish. It is
> running with six inside 'for' loops.
Hi Luis,
Before going too much into optimizing your current code, you might want to take
a step back and see if another approach to your problem might work ins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I have a 1000 line python script that takes many hours to finish. It is
running with six inside 'for' loops.
I've searched the net for ways to speed up the proccess.
Psyco improves performance around 3% in this case which is not good enough.
H
Hi,
I have a 1000 line python script that takes many hours to finish. It is
running with six inside 'for' loops.
I've searched the net for ways to speed up the proccess.
Psyco improves performance around 3% in this case which is not good enough.
How can I dramatically improve speed?
I tried
31 matches
Mail list logo