[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #12859 [Stem]: Improve parsing speed with profile-directed code tuning



#12859: Improve parsing speed with profile-directed code tuning
-----------------------------+--------------------
     Reporter:  nickm        |      Owner:  atagar
         Type:  enhancement  |     Status:  new
     Priority:  normal       |  Milestone:
    Component:  Stem         |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------

Comment (by nickm):

 Actually, you could tighten up the new regex in 0002 even more.  In my
 profiles, it's faster still to use:
 {{{
 match_re = re.compile(r'^(%s)(?:[ \t]|$)' % "|".join(keywords))
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12859#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs