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

Demian Brecht demianbrecht at gmail.com
Wed Feb 6 23:33:23 CET 2013


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 at 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?





More information about the Python-list mailing list