Path: csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.102 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.81; '*S*': 0.01; 'interpreter': 0.05; 'subject:Python': 0.06; 'typed': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'windows': 0.15; 'booted': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'idle,': 0.16; 'interpreter,': 0.16; 'wrote:': 0.18; 'module': 0.19; 'version.': 0.19; 'command': 0.22; 'cc:addr:python.org': 0.22; 'load': 0.23; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; '(usually': 0.31; 'decimal': 0.31; 'running': 0.33; 'cases': 0.33; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'system,': 0.38; 'server': 0.38; 'pm,': 0.38; 'called': 0.40; 'warm': 0.60; 'times': 0.62; "you've": 0.63; 'talking': 0.65; 'subject:. ': 0.67; 'between': 0.67; 'mar': 0.68; 'frank': 0.68; 'prompt': 0.68; 'repeat': 0.74; 'about?': 0.84; 'etc,': 0.84; 'exercise,': 0.84; 'suspicion': 0.84; 'old,': 0.85; 'to:none': 0.92; 'subject:Development': 0.95 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=yrDaZrewKskhWHFVzmyLHfKKfn78EaChMdiB3Qy8yRs=; b=IIZ8kFbKFqMB2X4ugcNKE3gOxO2RnFu/zlRj8EMpkNZVKBbT1qBaM1w3/pr+lJ/swG HJ3E4gYsl8Ij1V5e3JsEWlNQF/JYRuWr7kUD+29bbVZsDesx1MCtW3oF4zOv3k2yQrke euPlXZLebOcWWJPnb9XLqKUBYHyoFgplGLOF7eNND5O6hJF/2eKd/VM1f9EKnZLZ6MX8 gccK4uB6f1Qao2qFkvw3sYWbHBqARb2sWOVfdWY+YDbl2H+6WJzkfRSDjYaOoupUvkZF fjir7gTJAcemTr6G9zwmpEW4KTKpyRcByNgy4VROoUMArkyJq8A8X65pL6Wl3eqxKuY9 Iv1w== MIME-Version: 1.0 X-Received: by 10.66.146.229 with SMTP id tf5mr12949228pab.50.1393743424312; Sat, 01 Mar 2014 22:57:04 -0800 (PST) In-Reply-To: References: <2465a8c7-ce0e-4606-ad3b-9135c96e3e4c@googlegroups.com> <4e741358-ce12-40ac-97b8-3bbbf2d6ddca@googlegroups.com> Date: Sun, 2 Mar 2014 17:57:04 +1100 Subject: Re: Mac vs. Linux for Python Development From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1393743433 news.xs4all.nl 2877 [2001:888:2000:d::a6]:35913 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:67411 On Sun, Mar 2, 2014 at 4:51 PM, Frank Millman 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. ChrisA