Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Curious to see alternate approach on a search/replace via regex

Reply
Thread Tools

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

 
 
Demian Brecht
Guest
Posts: n/a
 
      02-06-2013
python -m cProfile [script_name].py

http://docs.python.org/2/library/pro...odule-cProfile


Demian Brecht
http://demianbrecht.github.com




On 2013-02-06 2:30 PM, "richard_hubbe11" <>
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?



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Curious to see alternate approach on a search/replace via regex Demian Brecht Python 18 02-26-2013 07:20 PM
Curious to see alternate approach on a search/replace via regex rh Python 6 02-08-2013 08:53 AM
Re: Curious to see alternate approach on a search/replace via regex Demian Brecht Python 0 02-07-2013 03:08 PM
Re: Curious to see alternate approach on a search/replace via regex Peter Otten Python 0 02-07-2013 09:49 AM
Re: Curious to see alternate approach on a search/replace via regex MRAB Python 0 02-06-2013 11:11 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57