RequestPolicy/requestpolicy — Issue #79: optimize order of accept/reject checks when processing requests
Author: jsamuel
Created: 2011-12-22 18:50:51+00:00
State: open
Labels: extension

imported trac ticket
created: 2010-02-02 22:32:33
reporter: justin

As it's the most speed critical section of code, the function `shouldLoad()` which decides whether requests are blocked or allowed should be rearranged to put what are expected to be the most common cases first.

Let's not go to the level of javascript optimization at this point, which would probably include inlining some functions.