{"issue":{"user":{"id":1240282,"login":"jsamuel","url":"https://api.github.com/users/jsamuel","avatar_url":"https://secure.gravatar.com/avatar/bc1d195cedb959a3946572b08ce9e7c7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"bc1d195cedb959a3946572b08ce9e7c7"},"milestone":null,"created_at":"2011-12-22T05:47:34Z","title":"optimize order of accept/reject checks when processing requests","labels":[{"name":"extension","url":"https://api.github.com/repos/RequestPolicy/requestpolicy/labels/extension","color":"ededed"}],"state":"closed","updated_at":"2011-12-22T05:47:36Z","id":2634243,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"html_url":"https://github.com/RequestPolicy/requestpolicy/issues/79","closed_at":"2011-12-22T05:47:36Z","body":"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.\r\n\r\nLet's not go to the level of javascript optimization at this point, which would probably include inlining some functions.","number":79,"url":"https://api.github.com/repos/RequestPolicy/requestpolicy/issues/79","comments":1,"assignee":null},"comment":{"user":{"id":1240282,"login":"jsamuel","url":"https://api.github.com/users/jsamuel","avatar_url":"https://secure.gravatar.com/avatar/bc1d195cedb959a3946572b08ce9e7c7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"bc1d195cedb959a3946572b08ce9e7c7"},"created_at":"2011-12-22T05:47:35Z","updated_at":"2011-12-22T05:47:35Z","id":3245443,"body":"[justin] Fixed in r320.","url":"https://api.github.com/repos/RequestPolicy/requestpolicy/issues/comments/3245443"},"action":"created"}