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


Groups > comp.lang.python > #95134

Re: Python speed

From Laura Creighton <lac@openend.se>
Subject Re: Python speed
References <2261c8c6-77ba-453d-9205-0a922fa67c81@googlegroups.com><04b7cdd0-1eb0-4378-9d14-38e97b4456a7@googlegroups.com>
Date 2015-08-07 19:17 +0200
Newsgroups comp.lang.python
Message-ID <mailman.1312.1438967902.3674.python-list@python.org> (permalink)

Show all headers | View raw


In a message of Fri, 07 Aug 2015 09:57:26 -0700, beliavsky--- via Python-list w
rites:
>On Friday, August 7, 2015 at 10:08:37 AM UTC-4, roge...@gmail.com wrote:
>> Can anyone compare PyNum calculation speed to Fortran?
>> 
>> This is for a number crunching program working with large files.
>> 
>> Roger

And for speed you may be better off with PyPy than with NumPy
http://speed.pypy.org/timeline/

but, as is always the case when measuring the speed of things,
'it all depends on what you are doing'.  Do you need to link to
existing Fortran or C libraries?  If the answer is no, and you
really only are doing crunching, and your crunching is done
in loops which run for a significant amount of time -- then PyPy
is generally faster than Fortran.

If you are spending most of your time in matplotlib graphing
your results, you will  be unhappy with PyPy performance.

pypy-dev@python.org is a better place to discuss performance of
PyPy, though while http://mail.scipy.org/mailman/listinfo/numpy-discussion
is a better place to discuss numpy.

scipy.org has been down all day, alas.  But the Americans should be
awake now and dealing with it.

Laura

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


Thread

Python speed rogerh906@gmail.com - 2015-08-07 07:08 -0700
  Re: Python speed beliavsky@aol.com - 2015-08-07 09:57 -0700
    Re: Python speed Laura Creighton <lac@openend.se> - 2015-08-07 19:17 +0200
      Re: Python speed Christian Gollwitzer <auriocus@gmx.de> - 2015-08-07 23:26 +0200
        Re: Python speed Laura Creighton <lac@openend.se> - 2015-08-08 00:01 +0200
  Re: Python speed rogerh906@gmail.com - 2015-08-07 12:30 -0700
  Re: Python speed Grant Edwards <invalid@invalid.invalid> - 2015-08-07 23:57 +0000

csiph-web