Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #67413
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!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.016 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'importing': 0.05; 'interpreter': 0.05; 'subject:Python': 0.06; 'executed': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'repeated': 0.09; 'sure,': 0.09; 'typed': 0.09; 'python': 0.11; 'assume': 0.14; 'wrote': 0.14; 'windows': 0.15; 'booted': 0.16; 'idle,': 0.16; 'interpreter,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'seconds.': 0.16; 'skip:n 70': 0.16; 'wrote:': 0.18; 'module': 0.19; 'trying': 0.19; 'slightly': 0.19; 'version.': 0.19; 'command': 0.22; 'machine': 0.22; 'load': 0.23; 'switched': 0.24; 'header:X-Complaints-To:1': 0.27; '(usually': 0.31; 'decimal': 0.31; 'running': 0.33; 'cases': 0.33; 'maybe': 0.34; 'received:co.za': 0.34; 'received:za': 0.34; 'something': 0.35; 'case,': 0.35; 'but': 0.35; 'version': 0.36; 'starting': 0.37; 'system,': 0.38; 'server': 0.38; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'called': 0.40; 'warm': 0.60; 'first': 0.61; 'times': 0.62; "you've": 0.63; 'more': 0.64; 'talking': 0.65; 'subject:. ': 0.67; 'between': 0.67; 'close': 0.67; 'mar': 0.68; 'frank': 0.68; 'prompt': 0.68; 'started.': 0.68; 'received:41': 0.70; 'repeat': 0.74; 'about?': 0.84; 'etc,': 0.84; 'exercise,': 0.84; 'exercise.': 0.84; 'ms.': 0.84; 'suspicion': 0.84; 'old,': 0.85; 'steps.': 0.91; 'subject:Development': 0.95 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | "Frank Millman" <frank@chagford.com> |
| Subject | Re: Mac vs. Linux for Python Development |
| Date | Sun, 2 Mar 2014 09:35:29 +0200 |
| References | <2465a8c7-ce0e-4606-ad3b-9135c96e3e4c@googlegroups.com> <4e741358-ce12-40ac-97b8-3bbbf2d6ddca@googlegroups.com> <CAPTjJmrBU9K0aoJyCUmif1FCExtbsuq27pGxiRvyNd=yVn-D5g@mail.gmail.com> <leugs1$68d$1@ger.gmane.org> <CAPTjJmrmJjiGMfqui=PpJco7LjtqVpUjj=XNmTYbYQEmxG3fmw@mail.gmail.com> |
| X-Gmane-NNTP-Posting-Host | 41-133-115-156.dsl.mweb.co.za |
| X-MSMail-Priority | Normal |
| X-Newsreader | Microsoft Outlook Express 6.00.3790.4657 |
| X-RFC2646 | Format=Flowed; Original |
| X-MimeOLE | Produced By Microsoft MimeOLE V6.00.3790.4913 |
| 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 | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.7565.1393745744.18130.python-list@python.org> (permalink) |
| Lines | 42 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1393745744 news.xs4all.nl 2867 [2001:888:2000:d::a6]:47545 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:67413 |
Show key headers only | View raw
"Chris Angelico" <rosuav@gmail.com> wrote in message news:CAPTjJmrmJjiGMfqui=PpJco7LjtqVpUjj=XNmTYbYQEmxG3fmw@mail.gmail.com... > On Sun, Mar 2, 2014 at 4:51 PM, Frank Millman <frank@chagford.com> wrote: >> Which version are you talking about? >> >> I have an old, slow box running Windows Server 2003 and python 3.3.2. >> >> I have just booted it up now, called up a command prompt, typed 'python' >> to >> start the interpreter, and typed 'import decimal'. The interpreter prompt >> re-appeared in the blink of an eye. >> >> Are you talking about something else? > > I did it in IDLE, which might have added a bit, but not hugely. It was > 3.4.0, so the module in both cases is the C-accelerated version. My > suspicion is that you've used the decimal module already on that > system, so you had a warm cache. When I repeat the exercise, I get > sub-second load times (usually of the order of 100-200ms); the > difference between that and your "blink of an eye" would be to do with > exactness of measurement, CPU/HDD performance, etc, etc, etc. > I assume by 'warm cache' you mean that I had used the decimal module before and not switched the machine off before trying the above exercise. In my case, the machine was switched off before I started. I switched it on and executed the above steps. To be slightly more precise, instead of 'the blink of an eye', I estimate it was between 250-500 ms. If I close the interpreter and start it up again, it takes maybe 100-200ms. Just to be sure, I switched the machine off and on again, and repeated the exercise. Starting the interpreter for the first time takes 1.5 - 2 seconds. Importing decimal for the first time takes less than 500ms. Frank
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Mac vs. Linux for Python Development twiz <twizansk@gmail.com> - 2014-02-23 00:43 -0800
Re: Mac vs. Linux for Python Development Chris Angelico <rosuav@gmail.com> - 2014-02-23 19:58 +1100
Re: Mac vs. Linux for Python Development twiz <twizansk@gmail.com> - 2014-02-23 02:17 -0800
Re: Mac vs. Linux for Python Development Chris Angelico <rosuav@gmail.com> - 2014-02-23 21:24 +1100
Re: Mac vs. Linux for Python Development Ned Deily <nad@acm.org> - 2014-02-23 03:49 -0800
Re: Mac vs. Linux for Python Development Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2014-02-23 11:51 +0200
Re: Mac vs. Linux for Python Development "Günther Dietrich" <gd.usenet@spamfence.net> - 2014-02-23 12:34 +0100
Re: Mac vs. Linux for Python Development Dave Cook <davecook@nowhere.net> - 2014-02-24 03:37 +0000
Re: Mac vs. Linux for Python Development William Ray Wing <wrw@mac.com> - 2014-02-24 10:33 -0500
Re: Mac vs. Linux for Python Development Michael Torrie <torriem@gmail.com> - 2014-02-24 10:34 -0700
Re: Mac vs. Linux for Python Development Michael Torrie <torriem@gmail.com> - 2014-02-24 10:42 -0700
Re: Mac vs. Linux for Python Development Chris Angelico <rosuav@gmail.com> - 2014-02-25 05:37 +1100
Re: Mac vs. Linux for Python Development Grant Edwards <invalid@invalid.invalid> - 2014-02-24 19:35 +0000
Re: Mac vs. Linux for Python Development Roy Smith <roy@panix.com> - 2014-02-23 09:20 -0500
Re: Mac vs. Linux for Python Development "Mark H. Harris" <harrismh777@gmail.com> - 2014-03-01 14:32 -0800
Re: Mac vs. Linux for Python Development Chris Angelico <rosuav@gmail.com> - 2014-03-02 09:57 +1100
Re: Mac vs. Linux for Python Development Ned Deily <nad@acm.org> - 2014-03-01 15:07 -0800
Re: Mac vs. Linux for Python Development "Frank Millman" <frank@chagford.com> - 2014-03-02 07:51 +0200
Re: Mac vs. Linux for Python Development Chris Angelico <rosuav@gmail.com> - 2014-03-02 17:57 +1100
Re: Mac vs. Linux for Python Development "Frank Millman" <frank@chagford.com> - 2014-03-02 09:35 +0200
Re: Mac vs. Linux for Python Development Chris Angelico <rosuav@gmail.com> - 2014-03-02 20:58 +1100
csiph-web