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


Groups > comp.lang.python > #41012

Re: Apparent magic number problem

Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder2-2.proxad.net!news.osn.de!diablo2.news.osn.de!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.009
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'linear': 0.07; 'python': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:number': 0.09; '2.7': 0.13; 'numpy': 0.16; 'received:80.91.229.3': 0.16; 'received:dip.t-dialin.net': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-dialin.net': 0.16; 'skip:{ 30': 0.16; 'wrote:': 0.17; 'byte': 0.17; 'appears': 0.18; '3.2': 0.22; 'sorry,': 0.22; 'subject:problem': 0.22; 'example': 0.23; 'seems': 0.23; 'header:User-Agent:1': 0.26; 'header:X -Complaints-To:1': 0.28; 'that.': 0.30; 'code': 0.31; 'problem': 0.33; 'to:addr:python-list': 0.33; 'there': 0.35; 'received:org': 0.36; 'generation': 0.36; 'method': 0.36; "i'll": 0.36; 'too': 0.36; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'takes': 0.39; 'header:Received:5': 0.40; 'further': 0.61; 'profile': 0.61; 'solve': 0.62; 'more': 0.63; 'subject: ': 0.66; 'below:': 0.71; 'low': 0.83; '2.7.': 0.84; 'route': 0.84; 'ratio': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Peter Otten <__peter__@web.de>
Subject Re: Apparent magic number problem
Date Sun, 10 Mar 2013 11:56:13 +0100
Organization None
References <khe0st$k45$1@theodyn.ncf.ca> <mailman.3120.1362819075.2939.python-list@python.org> <khfjom$e0p$1@theodyn.ncf.ca>
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
X-Gmane-NNTP-Posting-Host p5084bdd9.dip.t-dialin.net
User-Agent KNode/4.7.3
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3151.1362912950.2939.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1362912950 news.xs4all.nl 6987 [2001:888:2000:d::a6]:38986
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:41012

Show key headers only | View raw


Colin J. Williams wrote:

> My main problem appears to be with:
> 
> Profile with Python 2.7
>         11   25.736    2.340   25.736    2.340
> {numpy.linalg.lapack_lite.dgesv}
> 
> Profile with Python 3.2
>         11  152.111   13.828  152.111   13.828 {built-in method dgesv}
> 
> In other words, the Python 3.2 linear equation solve takes longer than
> with Python 2.7.   I'll pursue this with the numpy folk.

That seems to be a more promising route for further research than byte code 
compilation.
 
> There also appears to be a problem with the generation of the .pyc.
> Please see the example below:

Sorry, the signal-to-noise ratio is too low for me to bother with that.

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


Thread

Apparent  magic number problem "Colin J. Williams" <cjw@ncf.ca> - 2013-03-08 19:48 -0500
  Re: Apparent  magic number problem Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-09 05:22 +0000
  Re: Apparent  magic number problem Peter Otten <__peter__@web.de> - 2013-03-09 09:51 +0100
    Re: Apparent  magic number problem "Colin J. Williams" <cjw@ncf.ca> - 2013-03-09 10:16 -0500
      Re: Apparent  magic number problem Peter Otten <__peter__@web.de> - 2013-03-10 11:56 +0100

csiph-web