Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #38309 > unrolled thread

Re: Curious to see alternate approach on a search/replace via regex

Started byDemian Brecht <demianbrecht@gmail.com>
First post2013-02-06 14:33 -0800
Last post2013-02-06 14:33 -0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Re: Curious to see alternate approach on a search/replace via regex Demian Brecht <demianbrecht@gmail.com> - 2013-02-06 14:33 -0800

#38309 — Re: Curious to see alternate approach on a search/replace via regex

FromDemian Brecht <demianbrecht@gmail.com>
Date2013-02-06 14:33 -0800
SubjectRe: 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?

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web