Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #50369
| References | <krj40o$dgc$1@dont-email.me> <51dd22a6$0$11094$c3e8da3@news.astraweb.com> |
|---|---|
| From | Joshua Landau <joshua@landau.ws> |
| Date | 2013-07-10 16:54 +0100 |
| Subject | Re: Stack Overflow moderator “animuson” |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4530.1373471684.3114.python-list@python.org> (permalink) |
On 10 July 2013 10:00, Steven D'Aprano <steve@pearwood.info> wrote: > On Wed, 10 Jul 2013 07:55:05 +0000, Mats Peterson wrote: > >> A moderator who calls himself “animuson” on Stack Overflow doesn’t want >> to face the truth. He has deleted all my postings regarding Python >> regular expression matching being extremely slow compared to Perl. > > That's by design. We don't want to make the same mistake as Perl, where > every problem is solved by a regular expression: > > http://neilk.net/blog/2000/06/01/abigails-regex-to-test-for-prime-numbers/ > > so we deliberately make regexes as slow as possible so that programmers > will look for a better way to solve their problem. If you check the > source code for the re engine, you'll find that for certain regexes, it > busy-waits for anything up to 30 seconds at a time, deliberately wasting > cycles. I hate to sound like this but do you realise that this is exactly what you're arguing for when saying that sum() shouldn't use "+="? (There is no spite in the above sentence, but it sounds like there is. There is however no way obvious to me to remove it without changing the sentence's meaning.) > The same with Unicode. We hate French people, And for good damn reason too. They're ruining our language, á mon avis. > you see, and so in an > effort to drive everyone back to ASCII-only text, Python 3.3 introduces > some memory optimizations that ensures that Unicode strings work > correctly and are up to four times smaller than they used to be. You > should get together with jmfauth, who has discovered our dastardly plot > and keeps posting benchmarks showing how on carefully contrived micro- > benchmarks using a beta version of Python 3.3, non-ASCII string > operations can be marginally slower than in 3.2.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Stack Overflow moderator “animuson” Mats Peterson <matsp999@aim.com> - 2013-07-10 07:55 +0000
Re: Stack Overflow moderator “animuson” Chris Angelico <rosuav@gmail.com> - 2013-07-10 18:26 +1000
Re: Stack Overflow moderator “animuson” Steven D'Aprano <steve@pearwood.info> - 2013-07-10 08:37 +0000
Re: Stack Overflow moderator “animuson” Mats Peterson <matsp999@aim.com> - 2013-07-10 08:33 +0000
Re: Stack Overflow moderator “animuson” Chris Angelico <rosuav@gmail.com> - 2013-07-10 18:50 +1000
Re: Stack Overflow moderator “animuson” Mats Peterson <matsp999@aim.com> - 2013-07-10 08:46 +0000
Re: Stack Overflow moderator “animuson” Ian Kelly <ian.g.kelly@gmail.com> - 2013-07-10 03:12 -0600
Re: Stack Overflow moderator “animuson” Mats Peterson <matsp999@aim.com> - 2013-07-10 09:13 +0000
Re: Stack Overflow moderator “animuson” Joshua Landau <joshua@landau.ws> - 2013-07-10 10:52 +0100
Re: Stack Overflow moderator “animuson” Robert Kern <robert.kern@gmail.com> - 2013-07-10 12:08 +0100
Re: Stack Overflow moderator “animuson” Joshua Landau <joshua@landau.ws> - 2013-07-10 12:15 +0100
Re: Stack Overflow moderator “animuson” Skip Montanaro <skip@pobox.com> - 2013-07-10 06:52 -0500
Re: Stack Overflow moder ator “animuson” Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-10 15:01 +0000
Re: Stack Overflow moder ator “animuson” CM <cmpython@gmail.com> - 2013-07-11 00:36 -0700
Re: Stack Overflow moderator “animuson” Mats Peterson <matsp999@aim.com> - 2013-07-10 08:50 +0000
Re: Stack Overflow moderator “animuson” Chris Angelico <rosuav@gmail.com> - 2013-07-10 19:10 +1000
Re: Stack Overflow moderator “animuson” Mats Peterson <matsp999@aim.com> - 2013-07-10 08:32 +0000
Re: Stack Overflow moderator “animuson” Chris Angelico <rosuav@gmail.com> - 2013-07-10 18:46 +1000
Re: Stack Overflow moderator “animuson” Mats Peterson <matsp999@aim.com> - 2013-07-10 08:43 +0000
Re: Stack Overflow moderator “animuson” Michael Torrie <torriem@gmail.com> - 2013-07-10 22:20 -0600
Re: Stack Overflow moderator “animuson” Ian Kelly <ian.g.kelly@gmail.com> - 2013-07-10 03:00 -0600
Re: Stack Overflow moderator “animuson” Mats Peterson <matsp999@aim.com> - 2013-07-10 08:42 +0000
Re: Stack Overflow moderator “animuson” Chris Angelico <rosuav@gmail.com> - 2013-07-10 19:02 +1000
Re: Stack Overflow moderator “animuson” Mats Peterson <matsp999@aim.com> - 2013-07-10 09:01 +0000
Re: Stack Overflow moderator “animuson” Chris Angelico <rosuav@gmail.com> - 2013-07-10 19:39 +1000
Re: Stack Overflow moderator “animuson” Mats Peterson <matsp999@aim.com> - 2013-07-10 12:22 +0000
Re: Stack Overflow moderator “animuson” Michael Torrie <torriem@gmail.com> - 2013-07-10 22:26 -0600
Re: Stack Overflow moderator “animuson” Ian Kelly <ian.g.kelly@gmail.com> - 2013-07-10 03:06 -0600
Re: Stack Overflow moderator “animuson” Mats Peterson <matsp999@aim.com> - 2013-07-10 09:03 +0000
Re: Stack Overflow moderator “animuson” Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-07-10 13:14 +0200
Re: Stack Overflow moderator “animuson” Mats Peterson <matsp999@aim.com> - 2013-07-10 12:01 +0000
Re: Stack Overflow moderator “animuson” Joshua Landau <joshua@landau.ws> - 2013-07-10 13:13 +0100
Re: Stack Overflow moderator “animuson” Joshua Landau <joshua@landau.ws> - 2013-07-10 12:19 +0100
Re: StackOverflowmoderator “animuson” Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-10 16:03 +0000
Re: Stack Overflow moderator “animuson” Steven D'Aprano <steve@pearwood.info> - 2013-07-10 09:00 +0000
Re: Stack Overflow moderator “animuson” Steve Simmons <square.steve@gmail.com> - 2013-07-10 12:18 +0100
Re: Stack Overflow moderator “animuson” Mats Peterson <matsp999@aim.com> - 2013-07-10 12:13 +0000
Re: Stack Overflow moderator “animuson” Chris Angelico <rosuav@gmail.com> - 2013-07-10 22:22 +1000
Re: Stack Overflow moderator “animuson” Skip Montanaro <skip@pobox.com> - 2013-07-10 07:35 -0500
Re: Stack Overflow moderator “animuson” Paul Scott <pscott209@gmail.com> - 2013-07-10 14:27 +0200
Re: Stack Overflow moderator “animuson” Joshua Landau <joshua@landau.ws> - 2013-07-10 13:39 +0100
Re: Stack Overflow moderator “animuson” Skip Montanaro <skip@pobox.com> - 2013-07-10 08:12 -0500
Re: Stack Overflow moderator “animuson” memilanuk <memilanuk@gmail.com> - 2013-07-10 07:34 -0700
Re: Stack Overflow moderator “animuson” alex23 <wuwei23@gmail.com> - 2013-07-11 12:04 +1000
Re: Stack Overflow moderator “animuson” Joshua Landau <joshua@landau.ws> - 2013-07-10 16:54 +0100
Re: Stack Overflow moderator “animuson” Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-10 17:15 +0000
Re: Stack Overflow moderator “animuson” Joshua Landau <joshua@landau.ws> - 2013-07-10 18:53 +0100
Re: Stack Overflow moderator “animuson” Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-10 23:28 +0000
Re: Stack Overflow moderator “animuson” Ethan Furman <ethan@stoneleaf.us> - 2013-07-10 09:18 -0700
Re: Stack Overflow moderator “animuson” Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-10 12:32 -0400
Re: Stack Overflow moderator “animuson” Joshua Landau <joshua@landau.ws> - 2013-07-10 18:55 +0100
Re: Stack Overflow moderator “animuson” Antoine Pitrou <solipsis@pitrou.net> - 2013-07-18 08:54 +0000
Re: Stack Overflow moderator “animuson” wxjmfauth@gmail.com - 2013-07-19 11:54 -0700
Re: Stack Overflow moderator “animuson” Chris Angelico <rosuav@gmail.com> - 2013-07-20 08:35 +1000
Re: Stack Overflow moderator “animuson” Dave Angel <davea@davea.name> - 2013-07-19 19:14 -0400
Re: Stack Overflow moderator “animuson” Joshua Landau <joshua@landau.ws> - 2013-07-20 11:27 +0100
Re: Stack Overflow moderator “animuson” Joshua Landau <joshua@landau.ws> - 2013-07-10 12:12 +0100
Re: Stack Overflow moderator “animuson” Mats Peterson <matsp999@aim.com> - 2013-07-10 12:06 +0000
Re: Stack Overflow moderator “animuson” Benedict Verheyen <benedict.verheyen@gmail.com> - 2013-07-10 13:53 +0000
Re: Stack Overflow moderator “animuson” alex23 <wuwei23@gmail.com> - 2013-07-11 12:08 +1000
Re: Stack Overflow moderator “animuson” Ian Kelly <ian.g.kelly@gmail.com> - 2013-07-10 10:02 -0600
Re: Stack Overflow bans Mats Peterson (was Re: Stack Overflow moderator “animuson”) Michael Torrie <torriem@gmail.com> - 2013-07-10 22:38 -0600
Re: Stack Overflow moderator “animuson” Benedict Verheyen <benedict.verheyen@gmail.com> - 2013-07-10 11:56 +0000
Re: Stack Overflow bans Mats Peterson (was Re: ....) Terry Reedy <tjreedy@udel.edu> - 2013-07-10 14:52 -0400
Re: Stack Overflow moderator “animuson” Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-07-11 11:36 +0200
Re: Stack Overflow moderator “animuson” Jake Angulo <jake.angulo@gmail.com> - 2013-07-19 17:33 +1000
Re: Stack Overflow moderator “animuson” Kevin Walzer <kw@codebykevin.com> - 2013-07-19 20:47 -0400
csiph-web