{"action":"created","issue":{"url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/680","repository_url":"https://api.github.com/repos/official-stockfish/Stockfish","labels_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/680/labels{/name}","comments_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/680/comments","events_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/680/events","html_url":"https://github.com/official-stockfish/Stockfish/pull/680","id":157358279,"number":680,"title":"Speed optimizations in slider_blockers()","user":{"login":"snicolet","id":6761856,"avatar_url":"https://avatars.githubusercontent.com/u/6761856?v=3","gravatar_id":"","url":"https://api.github.com/users/snicolet","html_url":"https://github.com/snicolet","followers_url":"https://api.github.com/users/snicolet/followers","following_url":"https://api.github.com/users/snicolet/following{/other_user}","gists_url":"https://api.github.com/users/snicolet/gists{/gist_id}","starred_url":"https://api.github.com/users/snicolet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snicolet/subscriptions","organizations_url":"https://api.github.com/users/snicolet/orgs","repos_url":"https://api.github.com/users/snicolet/repos","events_url":"https://api.github.com/users/snicolet/events{/privacy}","received_events_url":"https://api.github.com/users/snicolet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-28T21:49:50Z","updated_at":"2016-05-30T09:09:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/official-stockfish/Stockfish/pulls/680","html_url":"https://github.com/official-stockfish/Stockfish/pull/680","diff_url":"https://github.com/official-stockfish/Stockfish/pull/680.diff","patch_url":"https://github.com/official-stockfish/Stockfish/pull/680.patch"},"body":"Three small optimizations in slider_blockers() :\r\n\r\na) early return if there are no potential sliders\r\nb) call pieces() only once before the loop\r\nc) factorize the target filtering after the loop\r\n\r\nGives about 1.5% global speed-up overall against current master.\r\n\r\nNo functional change (same bench)"},"comment":{"url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/comments/222448456","html_url":"https://github.com/official-stockfish/Stockfish/pull/680#issuecomment-222448456","issue_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/680","id":222448456,"user":{"login":"snicolet","id":6761856,"avatar_url":"https://avatars.githubusercontent.com/u/6761856?v=3","gravatar_id":"","url":"https://api.github.com/users/snicolet","html_url":"https://github.com/snicolet","followers_url":"https://api.github.com/users/snicolet/followers","following_url":"https://api.github.com/users/snicolet/following{/other_user}","gists_url":"https://api.github.com/users/snicolet/gists{/gist_id}","starred_url":"https://api.github.com/users/snicolet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snicolet/subscriptions","organizations_url":"https://api.github.com/users/snicolet/orgs","repos_url":"https://api.github.com/users/snicolet/repos","events_url":"https://api.github.com/users/snicolet/events{/privacy}","received_events_url":"https://api.github.com/users/snicolet/received_events","type":"User","site_admin":false},"created_at":"2016-05-30T09:09:12Z","updated_at":"2016-05-30T09:09:12Z","body":"I will close this pull request in 48 hours if nobody can confirm the speed-up I see on my Mac on their Windows on Linux machine :-)"}}
{"actor":{"display_login":"snicolet"}}