Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #38309
| Date | 2013-02-06 14:33 -0800 |
|---|---|
| Subject | Re: Curious to see alternate approach on a search/replace via regex |
| From | Demian Brecht <demianbrecht@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1428.1360190018.2939.python-list@python.org> (permalink) |
python -m cProfile [script_name].py http://docs.python.org/2/library/profile.html#module-cProfile Demian Brecht http://demianbrecht.github.com On 2013-02-06 2:30 PM, "richard_hubbe11" <richard_hubbe11@lavabit.com> wrote: >I see that urlparse uses split and not re at all and, in my tests, >urlparse >completes in less time. More calls but less time is ok to me. > >How did you run the test? >What produces the function call count?
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Curious to see alternate approach on a search/replace via regex Demian Brecht <demianbrecht@gmail.com> - 2013-02-06 14:33 -0800
csiph-web