Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #44894
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <square.steve@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'skip:[ 20': 0.04; 'subject:Python': 0.06; 'plenty': 0.07; 'ascii': 0.09; 'properly.': 0.09; 'subject:Why': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'bug': 0.12; '3.3,': 0.16; 'compliant,': 0.16; 'galaxy': 0.16; 'otoh,': 0.16; 'range,': 0.16; 'range.': 0.16; 'received:192.168.1.4': 0.16; 'subject:make': 0.16; ':-)': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'memory': 0.22; 'import': 0.22; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'header:User-Agent:1': 0.23; '>>>': 0.24; 'comparing': 0.24; 'unicode': 0.24; 'non': 0.24; '(or': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; '>': 0.26; 'header:In-Reply- To:1': 0.27; 'returned': 0.30; 'url:mailman': 0.30; "skip:' 10": 0.31; '(usually': 0.31; 'portuguese': 0.31; 'languages': 0.32; 'text': 0.33; 'url:python': 0.33; '-----': 0.33; 'becomes': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; '8bit%:17': 0.36; 'european': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'skip:& 10': 0.38; 'list,': 0.38; 'that,': 0.38; 'realize': 0.39; 'url:mail': 0.40; 'skip:u 10': 0.60; 'skip:t 30': 0.61; 'subject:more': 0.64; 'become': 0.64; 'more': 0.64; 'finally': 0.65; 'to:addr:gmail.com': 0.65; '>from': 0.68; 'wish': 0.70; 'home.': 0.72; 'to:charset:iso-8859-1': 0.74; 'gain': 0.79; 'seriously,': 0.84; 'subject:money': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:user-agent:in-reply-to:references:mime-version :content-type:subject:from:date:to:cc:message-id; bh=l1dA1QmNkbidFom3fmUImv0C+FhlVas7h7jqBCoYpJM=; b=ZfKz5vJEAwpoq669xxHPIcigCazP1yuYBtpQBLF/iCzM8u5I+S784VkbnfVOuqQAMC z+wlRkXdbqasxXth9bP6dh7Xe5HGJXQ/qerWJ83SvF/m205bSNVXrajm2ln8DnTQGNeS 0qrFnOqKZjw3GtikPd0AU5HlvT5eKhvoSz5qpBME+Amo3VTcpZ09QJONKgCeWzfNyH6d /FsgPEofwq0a6q8rHDO7s+eMZks2ECnXJUJFKqYe4nC4/EperMhSug9CpNsGUUrVxn+P v/9uHltPf8WMyltne81xzz3Scs+f/88PReJPoRWbA1YLhQgzh66nsqQOCpPQpfwRtCL2 T+ig== |
| X-Received | by 10.194.122.166 with SMTP id lt6mr3857234wjb.14.1367936285942; Tue, 07 May 2013 07:18:05 -0700 (PDT) |
| User-Agent | K-9 Mail for Android |
| In-Reply-To | <CAA=1kxSphzMjas1N+NycoLhVnsQXapJsziNqPvQLuv2GQ3Bv4Q@mail.gmail.com> |
| References | <zrOdnZU2U6syDxvMnZ2dnUVZ_v2dnZ2d@giganews.com> <5186aeb6$0$29997$c3e8da3$5496439d@news.astraweb.com> <af561505-fffe-4e2a-8446-35a98da6ded7@googlegroups.com> <CAA=1kxSQE2uCkgTQbr3cfmg4PFQEj=OcYpTi5F+Chd+j0Q8Tuw@mail.gmail.com> <CAPTjJmoF1CK661GDovgw0MmveOv-tAOGSW2odquM4eh7kei-eg@mail.gmail.com> <mailman.1320.1367826603.3114.python-list@python.org> <f6f88950-979d-4f6d-8265-310d73ae3a60@w15g2000vbn.googlegroups.com> <CAA=1kxSphzMjas1N+NycoLhVnsQXapJsziNqPvQLuv2GQ3Bv4Q@mail.gmail.com> |
| MIME-Version | 1.0 |
| Content-Type | multipart/alternative; boundary="----DCVGXDUYRX9BHNJXPXH2SVFFHQ2LUE" |
| Subject | Re: Why do Perl programmers make more money than Python programmers |
| From | Steve Simmons <square.steve@gmail.com> |
| Date | Tue, 07 May 2013 15:17:52 +0100 |
| To | Fábio Santos <fabiosantosart@gmail.com> |
| Cc | python-list@python.org |
| 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.1412.1367936288.3114.python-list@python.org> (permalink) |
| Lines | 169 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1367936288 news.xs4all.nl 16004 [2001:888:2000:d::a6]:50938 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:44894 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
"Fábio Santos" <fabiosantosart@gmail.com> wrote:
>>
>>
>> -----
>>
>>
>> 1) The memory gain for many of us (usually non ascii users)
>> just become irrelevant.
>>
>> >>> sys.getsizeof('maçã')
>> 41
>> >>> sys.getsizeof('abcd')
>> 29
>>
>> 2) More critical, Py 3.3, just becomes non unicode compliant,
>> (eg European languages or "ascii" typographers !)
>>
>> >>> import timeit
>> >>> timeit.timeit("'abcd'*1000 + 'a'")
>> 2.186670111428325
>> >>> timeit.timeit("'abcd'*1000 + '€'")
>> 2.9951699820528432
>> >>> timeit.timeit("'abcd'*1000 + 'œ'")
>> 3.0036780444886233
>> >>> timeit.timeit("'abcd'*1000 + 'ẞ'")
>> 3.004992278824048
>> >>> timeit.timeit("'maçã'*1000 + 'œ'")
>> 3.231025618708202
>> >>> timeit.timeit("'maçã'*1000 + '€'")
>> 3.215894398100758
>> >>> timeit.timeit("'maçã'*1000 + 'œ'")
>> 3.224407974255655
>> >>> timeit.timeit("'maçã'*1000 + '’'")
>> 3.2206342273566406
>> >>> timeit.timeit("'abcd'*1000 + '’'")
>> 2.9914403449067777
>>
>> 3) Python is "pround" to cover the whole unicode range,
>> unfortunately it "breaks" the BMP range.
>> Small GvR exemple (ascii) from the the bug list,
>> but with non ascii characters.
>>
>> # Py 3.2, all chars
>>
>> >>> timeit.repeat("a = 'hundred'; 'x' in a")
>> [0.09087790617297742, 0.07456871885972305, 0.07449940353376405]
>> >>> timeit.repeat("a = 'maçãé€ẞ'; 'x' in a")
>> [0.10088136800095526, 0.07488497003487282, 0.07497594640028638]
>>
>>
>> # Py 3.3 ascii and non ascii chars
>> >>> timeit.repeat("a = 'hundred'; 'x' in a")
>> [0.11426985953005442, 0.10040049292649655, 0.09920834808588097]
>> >>> timeit.repeat("a = 'maçãé€ẞ'; 'é' in a")
>> [0.2345595188256766, 0.21637172864154763, 0.2179096624382737]
>>
>>
>> There are plenty of good reasons to use Python. There are
>> also plenty of good reasons to not use (or now to drop)
>> Python and to realize that if you wish to process text
>> seriously, you are better served by using "corporate
>> products" or tools using Unicode properly.
>>
>> jmf
>
>This is so off-topic that, after reading this, I feel I have just
>returned
>from the Moon.
>
>OTOH, it would seem like you know the Portuguese word for apple, so I
>also
>feel home.
>
>I am so confused.
>
>
>------------------------------------------------------------------------
>
>--
>http://mail.python.org/mailman/listinfo/python-list
Good to see jmf finally comparing apples with apples :-)
Sent from a Galaxy far far away
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Why do Perl programmers make more money than Python programmers Ignoramus16992 <ignoramus16992@NOSPAM.16992.invalid> - 2013-05-05 12:11 -0500
Re: Why do Perl programmers make more money than Python programmers Stephan Vladimir Bugaj <sbugaj@pixar.com> - 2013-05-05 10:32 -0700
Re: Why do Perl programmers make more money than Python programmers Stephan Vladimir Bugaj <sbugaj@pixar.com> - 2013-05-05 10:33 -0700
Re: Why do Perl programmers make more money than Python programmers Fábio Santos <fabiosantosart@gmail.com> - 2013-05-05 18:34 +0100
Re: Why do Perl programmers make more money than Python programmers Chris Angelico <rosuav@gmail.com> - 2013-05-06 03:35 +1000
Re: Why do Perl programmers make more money than Python programmers rusi <rustompmody@gmail.com> - 2013-05-05 10:35 -0700
Re: Why do Perl programmers make more money than Python programmers Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-05-05 19:24 +0100
Re: Why do Perl programmers make more money than Python programmers Fábio Santos <fabiosantosart@gmail.com> - 2013-05-05 18:52 +0100
Re: Why do Perl programmers make more money than Python programmers Roy Smith <roy@panix.com> - 2013-05-05 13:58 -0400
Re: Why do Perl programmers make more money than Python programmers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-05 19:13 +0000
Re: Why do Perl programmers make more money than Python programmers Petite Abeille <petite.abeille@gmail.com> - 2013-05-05 23:05 +0200
Re: Why do Perl programmers make more money than Python programmers Roy Smith <roy@panix.com> - 2013-05-05 17:07 -0400
Re: Why do Perl programmers make more money than Python programmers Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-05-05 17:37 -0400
Re: Why do Perl programmers make more money than Python programmers Roy Smith <roy@panix.com> - 2013-05-05 17:49 -0400
Re: Why do Perl programmers make more money than Python programmers William Ray Wing <wrw@mac.com> - 2013-05-07 17:02 -0400
Re: Why do Perl programmers make more money than Python programmers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-05 19:10 +0000
Re: Why do Perl programmers make more money than Python programmers jt@toerring.de (Jens Thoms Toerring) - 2013-05-05 20:37 +0000
Re: Why do Perl programmers make more money than Python programmers Rainer Weikusat <rweikusat@mssgmbh.com> - 2013-05-05 22:09 +0100
Re: Why do Perl programmers make more money than Python programmers jt@toerring.de (Jens Thoms Toerring) - 2013-05-05 21:33 +0000
Re: Why do Perl programmers make more money than Python programmers Roy Smith <roy@panix.com> - 2013-05-05 17:35 -0400
Re: Why do Perl programmers make more money than Python programmers jt@toerring.de (Jens Thoms Toerring) - 2013-05-05 21:43 +0000
Re: Why do Perl programmers make more money than Python programmers Chris Angelico <rosuav@gmail.com> - 2013-05-06 08:24 +1000
Re: Why do Perl programmers make more money than Python programmers 88888 Dihedral <dihedral88888@googlemail.com> - 2013-05-05 14:34 -0700
Re: Why do Perl programmers make more money than Python programmers llanitedave <llanitedave@veawb.coop> - 2013-05-05 23:13 -0700
Re: Why do Perl programmers make more money than Python programmers Fábio Santos <fabiosantosart@gmail.com> - 2013-05-06 07:28 +0100
Re: Why do Perl programmers make more money than Python programmers Roy Smith <roy@panix.com> - 2013-05-06 07:41 -0400
Re: Why do Perl programmers make more money than Python programmers Chris Angelico <rosuav@gmail.com> - 2013-05-06 17:30 +1000
Re: Why do Perl programmers make more money than Python programmers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-06 12:03 +0000
Re: Why do Perl programmers make more money than Python programmers Joshua Landau <joshua.landau.ws@gmail.com> - 2013-05-06 17:04 +0100
Re: Why do Perl programmers make more money than Python programmers Fábio Santos <fabiosantosart@gmail.com> - 2013-05-06 08:49 +0100
Re: Why do Perl programmers make more money than Python programmers jmfauth <wxjmfauth@gmail.com> - 2013-05-07 06:22 -0700
Re: Why do Perl programmers make more money than Python programmers Chris Angelico <rosuav@gmail.com> - 2013-05-07 23:32 +1000
Re: Why do Perl programmers make more money than Python programmers 88888 Dihedral <dihedral88888@googlemail.com> - 2013-05-07 13:41 -0700
Re: Why do Perl programmers make more money than Python programmers Walter Hurry <walterhurry@lavabit.com> - 2013-05-07 21:14 +0000
Re: Why do Perl programmers make more money than Python programmers Fábio Santos <fabiosantosart@gmail.com> - 2013-05-07 14:35 +0100
Re: Why do Perl programmers make more money than Python programmers Steve Simmons <square.steve@gmail.com> - 2013-05-07 15:17 +0100
Re: Why do Perl programmers make more money than Python programmers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-08 03:06 +0000
Re: Why do Perl programmers make more money than Python programmers Terry Jan Reedy <tjreedy@udel.edu> - 2013-05-07 14:40 -0400
Re: Why do Perl programmers make more money than Python programmers Neil Hodgson <nhodgson@iinet.net.au> - 2013-05-08 10:34 +1000
Re: Why do Perl programmers make more money than Python programmers Benjamin Kaplan <benjamin.kaplan@case.edu> - 2013-05-07 18:11 -0700
Re: Why do Perl programmers make more money than Python programmers rusi <rustompmody@gmail.com> - 2013-05-08 03:43 -0700
Re: Why do Perl programmers make more money than Python programmers Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-05-08 02:22 +0100
Re: Why do Perl programmers make more money than Python programmers Dave Angel <davea@davea.name> - 2013-05-07 21:23 -0400
Re: Why do Perl programmers make more money than Python programmers Karim <kliateni@gmail.com> - 2013-05-06 09:55 +0200
Re: Why do Perl programmers make more money than Python programmers Fábio Santos <fabiosantosart@gmail.com> - 2013-05-06 08:58 +0100
Re: Why do Perl programmers make more money than Python programmers Chris Angelico <rosuav@gmail.com> - 2013-05-06 18:02 +1000
Re: Why do Perl programmers make more money than Python programmers Fábio Santos <fabiosantosart@gmail.com> - 2013-05-06 10:00 +0100
Re: Why do Perl programmers make more money than Python programmers Paul Rubin <no.email@nospam.invalid> - 2013-05-05 14:17 -0700
Re: Why do Perl programmers make more money than Python programmers Ignoramus16992 <ignoramus16992@NOSPAM.16992.invalid> - 2013-05-05 18:05 -0500
Re: Why do Perl programmers make more money than Python programmers Henry Law <news@lawshouse.org> - 2013-05-06 07:07 +0100
Re: Why do Perl programmers make more money than Python programmers Ignoramus30465 <ignoramus30465@NOSPAM.30465.invalid> - 2013-05-06 20:53 -0500
csiph-web