Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.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.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'operator': 0.03; 'subject:Python': 0.05; 'python': 0.09; '32-bit': 0.09; 'immutable': 0.09; 'received:mail-vc0-f174.google.com': 0.09; 'sep': 0.09; 'language': 0.14; 'represents': 0.15; 'argument.': 0.16; 'binary.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'integers,': 0.16; 'mean,': 0.16; 'say.': 0.16; 'wed,': 0.16; 'string': 0.17; 'wrote:': 0.17; 'comparing': 0.17; 'replacing': 0.17; 'unicode': 0.17; 'all,': 0.21; 'statement': 0.23; 'header:In-Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; 'all.': 0.28; 'build,': 0.29; 'long.': 0.29; 'received:209.85.220.174': 0.29; 'url:se': 0.29; 'array': 0.29; 'no,': 0.29; 'this.': 0.29; "i'm": 0.29; 'maybe': 0.29; 'expect': 0.31; 'sense': 0.31; 'not.': 0.32; 'largely': 0.33; 'to:addr :python-list': 0.33; 'likely': 0.33; 'received:google.com': 0.34; 'stores': 0.35; 'pm,': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; 'characters': 0.36; 'anything': 0.36; "i'll": 0.36; 'should': 0.36; 'possible': 0.37; 'why': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'store': 0.38; 'nothing': 0.38; 'possible.': 0.38; 'to:addr:python.org': 0.39; 'takes': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'wide': 0.62; 'times': 0.63; 'more': 0.63; 'selling': 0.64; '26,': 0.65; 'believe': 0.69; 'benefit': 0.70; 'guaranteed': 0.76; "it'd": 0.84; 'pike': 0.84; 'url:string': 0.84 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:to :content-type; bh=xMIlW3CRBiVfaXq0YstAHnxKqy2dtmtBPXQagiLWiWA=; b=RZ5pzmhEEyghPZd+p9Fyh7bgQ6YKMZz7ctlTzZgZVzgl5DgbkooUWxc/wDh97afKim VEEanb1S3bxROB7No6DQP8GHrZ7F/+pkqSNxetEij+Ql/NqaQQy/vegU0j6HwVpC7loD 0LaGF34QO/CIJxPcPbCtYRnXlsQvXyvzH0EZPganyHw+l6TPwJGg8xf8TfvncrSnLiWT Na+cJJpkKorPSzbD9NIXL/YwUVnBSBWWqKk1+PdkopMq1QFIZjdOj6c0800Wy1vq5GeJ mvTT/kAw+x9OVNoXetXTINOKFpUMmdX4td795or2N+jUkZUC2MbGo6+vfWnlvo7GAnHw CDNA== MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 26 Sep 2012 23:43:23 +1000 Subject: Re: Article on the future of Python From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 31 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1348667007 news.xs4all.nl 6844 [2001:888:2000:d::a6]:58941 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:30202 On Wed, Sep 26, 2012 at 10:19 PM, wrote: > You are always selling the same argument. > Py3.3 is the only computer language I'm aware of which > is maltreating Unicode in such a way. You mean, the only computer language that represents Unicode characters as integers, and then stores them as an array of 8-bit, 16-bit, or 32-bit numbers depending on the highest codepoint? No, it's not. I can disprove your statement with a single counterexample, but it's entirely possible and (IMHO) likely that there are others too: http://pike.lysator.liu.se/generated/manual/modref/ex/predef_3A_3A/String/width.html Pike stores strings in largely the same way Python 3.3 does. Pike strings are immutable and guaranteed to be interned, so it makes good sense to store them as compactly as possible. > After all, if replacing a Nabla operator in a string take > 10 times more times in Py33 than in Python32, it takes 10 > times more . There is nothing more to say. Comparing against a Py32 wide build, I find it hard to believe that anything would take ten times as long. But I'll give you the benefit of the doubt; maybe your number is in binary. I still do not expect that it'd take twice as long. Would you believe... barely slower? And even that's pushing it. sigh... Why am I arguing this. I should get plonked myself for feeding the trolls. Sorry all. ChrisA