[tor-bugs] #18881 [Core Tor/Stem]: speed up is_match() of stem/exit_policy.py

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Apr 26 00:50:29 UTC 2016


#18881: speed up is_match() of stem/exit_policy.py
---------------------------+------------------------
 Reporter:  toralf         |          Owner:  atagar
     Type:  defect         |         Status:  new
 Priority:  Medium         |      Milestone:
Component:  Core Tor/Stem  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+------------------------

Comment (by atagar):

 Hi toralf, which part of is_match() in particular are you concerned with?
 An 'is None' check, even done repeatedly, should be negligible. Feel free
 to attach a patch if there's something you'd care to propose.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18881#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list