Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #38309 > unrolled thread
| Started by | Demian Brecht <demianbrecht@gmail.com> |
|---|---|
| First post | 2013-02-06 14:33 -0800 |
| Last post | 2013-02-06 14:33 -0800 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
Re: Curious to see alternate approach on a search/replace via regex Demian Brecht <demianbrecht@gmail.com> - 2013-02-06 14:33 -0800
| From | Demian Brecht <demianbrecht@gmail.com> |
|---|---|
| Date | 2013-02-06 14:33 -0800 |
| Subject | Re: Curious to see alternate approach on a search/replace via regex |
| Message-ID | <mailman.1428.1360190018.2939.python-list@python.org> |
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 top | Article view | comp.lang.python
csiph-web