{"action":"closed","number":74,"pull_request":{"url":"https://api.github.com/repos/ujh/iomrascalai/pulls/74","id":27297994,"html_url":"https://github.com/ujh/iomrascalai/pull/74","diff_url":"https://github.com/ujh/iomrascalai/pull/74.diff","patch_url":"https://github.com/ujh/iomrascalai/pull/74.patch","issue_url":"https://api.github.com/repos/ujh/iomrascalai/issues/74","number":74,"state":"closed","locked":false,"title":"Store neighbours as a vector of vectors #53","user":{"login":"ujh","id":28911,"avatar_url":"https://avatars.githubusercontent.com/u/28911?v=3","gravatar_id":"","url":"https://api.github.com/users/ujh","html_url":"https://github.com/ujh","followers_url":"https://api.github.com/users/ujh/followers","following_url":"https://api.github.com/users/ujh/following{/other_user}","gists_url":"https://api.github.com/users/ujh/gists{/gist_id}","starred_url":"https://api.github.com/users/ujh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ujh/subscriptions","organizations_url":"https://api.github.com/users/ujh/orgs","repos_url":"https://api.github.com/users/ujh/repos","events_url":"https://api.github.com/users/ujh/events{/privacy}","received_events_url":"https://api.github.com/users/ujh/received_events","type":"User","site_admin":false},"body":"As we only ever setup the neighbours once and only iterate over all neighbours using a Vec instead of a HashMap is much quicker.\r\n\r\nThis one change gets us from 1296pps on to 2130pps on 9x9 and from 522pps to 1160pps on 19x19.\r\n","created_at":"2015-01-13T19:37:18Z","updated_at":"2015-01-13T19:40:12Z","closed_at":"2015-01-13T19:40:12Z","merged_at":"2015-01-13T19:40:12Z","merge_commit_sha":"b0d7b0fb651e5fe56995a56a3b42becc1e28303a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ujh/iomrascalai/pulls/74/commits","review_comments_url":"https://api.github.com/repos/ujh/iomrascalai/pulls/74/comments","review_comment_url":"https://api.github.com/repos/ujh/iomrascalai/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ujh/iomrascalai/issues/74/comments","statuses_url":"https://api.github.com/repos/ujh/iomrascalai/statuses/73a96c0d2cfeffb0af79b4dbc5915c63c880e3ac","head":{"label":"ujh:53-neighbours-as-vec","ref":"53-neighbours-as-vec","sha":"73a96c0d2cfeffb0af79b4dbc5915c63c880e3ac","user":{"login":"ujh","id":28911,"avatar_url":"https://avatars.githubusercontent.com/u/28911?v=3","gravatar_id":"","url":"https://api.github.com/users/ujh","html_url":"https://github.com/ujh","followers_url":"https://api.github.com/users/ujh/followers","following_url":"https://api.github.com/users/ujh/following{/other_user}","gists_url":"https://api.github.com/users/ujh/gists{/gist_id}","starred_url":"https://api.github.com/users/ujh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ujh/subscriptions","organizations_url":"https://api.github.com/users/ujh/orgs","repos_url":"https://api.github.com/users/ujh/repos","events_url":"https://api.github.com/users/ujh/events{/privacy}","received_events_url":"https://api.github.com/users/ujh/received_events","type":"User","site_admin":false},"repo":{"id":18872244,"name":"iomrascalai","full_name":"ujh/iomrascalai","owner":{"login":"ujh","id":28911,"avatar_url":"https://avatars.githubusercontent.com/u/28911?v=3","gravatar_id":"","url":"https://api.github.com/users/ujh","html_url":"https://github.com/ujh","followers_url":"https://api.github.com/users/ujh/followers","following_url":"https://api.github.com/users/ujh/following{/other_user}","gists_url":"https://api.github.com/users/ujh/gists{/gist_id}","starred_url":"https://api.github.com/users/ujh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ujh/subscriptions","organizations_url":"https://api.github.com/users/ujh/orgs","repos_url":"https://api.github.com/users/ujh/repos","events_url":"https://api.github.com/users/ujh/events{/privacy}","received_events_url":"https://api.github.com/users/ujh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ujh/iomrascalai","description":"iomrascálaí is an AI for the game of Go/Weiqi/Baduk written in Rust","fork":false,"url":"https://api.github.com/repos/ujh/iomrascalai","forks_url":"https://api.github.com/repos/ujh/iomrascalai/forks","keys_url":"https://api.github.com/repos/ujh/iomrascalai/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ujh/iomrascalai/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ujh/iomrascalai/teams","hooks_url":"https://api.github.com/repos/ujh/iomrascalai/hooks","issue_events_url":"https://api.github.com/repos/ujh/iomrascalai/issues/events{/number}","events_url":"https://api.github.com/repos/ujh/iomrascalai/events","assignees_url":"https://api.github.com/repos/ujh/iomrascalai/assignees{/user}","branches_url":"https://api.github.com/repos/ujh/iomrascalai/branches{/branch}","tags_url":"https://api.github.com/repos/ujh/iomrascalai/tags","blobs_url":"https://api.github.com/repos/ujh/iomrascalai/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ujh/iomrascalai/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ujh/iomrascalai/git/refs{/sha}","trees_url":"https://api.github.com/repos/ujh/iomrascalai/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ujh/iomrascalai/statuses/{sha}","languages_url":"https://api.github.com/repos/ujh/iomrascalai/languages","stargazers_url":"https://api.github.com/repos/ujh/iomrascalai/stargazers","contributors_url":"https://api.github.com/repos/ujh/iomrascalai/contributors","subscribers_url":"https://api.github.com/repos/ujh/iomrascalai/subscribers","subscription_url":"https://api.github.com/repos/ujh/iomrascalai/subscription","commits_url":"https://api.github.com/repos/ujh/iomrascalai/commits{/sha}","git_commits_url":"https://api.github.com/repos/ujh/iomrascalai/git/commits{/sha}","comments_url":"https://api.github.com/repos/ujh/iomrascalai/comments{/number}","issue_comment_url":"https://api.github.com/repos/ujh/iomrascalai/issues/comments/{number}","contents_url":"https://api.github.com/repos/ujh/iomrascalai/contents/{+path}","compare_url":"https://api.github.com/repos/ujh/iomrascalai/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ujh/iomrascalai/merges","archive_url":"https://api.github.com/repos/ujh/iomrascalai/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ujh/iomrascalai/downloads","issues_url":"https://api.github.com/repos/ujh/iomrascalai/issues{/number}","pulls_url":"https://api.github.com/repos/ujh/iomrascalai/pulls{/number}","milestones_url":"https://api.github.com/repos/ujh/iomrascalai/milestones{/number}","notifications_url":"https://api.github.com/repos/ujh/iomrascalai/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ujh/iomrascalai/labels{/name}","releases_url":"https://api.github.com/repos/ujh/iomrascalai/releases{/id}","created_at":"2014-04-17T08:48:55Z","updated_at":"2015-01-13T18:35:56Z","pushed_at":"2015-01-13T19:40:12Z","git_url":"git://github.com/ujh/iomrascalai.git","ssh_url":"git@github.com:ujh/iomrascalai.git","clone_url":"https://github.com/ujh/iomrascalai.git","svn_url":"https://github.com/ujh/iomrascalai","homepage":null,"size":1331,"stargazers_count":19,"watchers_count":19,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":13,"forks":3,"open_issues":13,"watchers":19,"default_branch":"master"}},"base":{"label":"ujh:master","ref":"master","sha":"1654128e66dcf0ad11308527be9ec401224eda99","user":{"login":"ujh","id":28911,"avatar_url":"https://avatars.githubusercontent.com/u/28911?v=3","gravatar_id":"","url":"https://api.github.com/users/ujh","html_url":"https://github.com/ujh","followers_url":"https://api.github.com/users/ujh/followers","following_url":"https://api.github.com/users/ujh/following{/other_user}","gists_url":"https://api.github.com/users/ujh/gists{/gist_id}","starred_url":"https://api.github.com/users/ujh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ujh/subscriptions","organizations_url":"https://api.github.com/users/ujh/orgs","repos_url":"https://api.github.com/users/ujh/repos","events_url":"https://api.github.com/users/ujh/events{/privacy}","received_events_url":"https://api.github.com/users/ujh/received_events","type":"User","site_admin":false},"repo":{"id":18872244,"name":"iomrascalai","full_name":"ujh/iomrascalai","owner":{"login":"ujh","id":28911,"avatar_url":"https://avatars.githubusercontent.com/u/28911?v=3","gravatar_id":"","url":"https://api.github.com/users/ujh","html_url":"https://github.com/ujh","followers_url":"https://api.github.com/users/ujh/followers","following_url":"https://api.github.com/users/ujh/following{/other_user}","gists_url":"https://api.github.com/users/ujh/gists{/gist_id}","starred_url":"https://api.github.com/users/ujh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ujh/subscriptions","organizations_url":"https://api.github.com/users/ujh/orgs","repos_url":"https://api.github.com/users/ujh/repos","events_url":"https://api.github.com/users/ujh/events{/privacy}","received_events_url":"https://api.github.com/users/ujh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ujh/iomrascalai","description":"iomrascálaí is an AI for the game of Go/Weiqi/Baduk written in Rust","fork":false,"url":"https://api.github.com/repos/ujh/iomrascalai","forks_url":"https://api.github.com/repos/ujh/iomrascalai/forks","keys_url":"https://api.github.com/repos/ujh/iomrascalai/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ujh/iomrascalai/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ujh/iomrascalai/teams","hooks_url":"https://api.github.com/repos/ujh/iomrascalai/hooks","issue_events_url":"https://api.github.com/repos/ujh/iomrascalai/issues/events{/number}","events_url":"https://api.github.com/repos/ujh/iomrascalai/events","assignees_url":"https://api.github.com/repos/ujh/iomrascalai/assignees{/user}","branches_url":"https://api.github.com/repos/ujh/iomrascalai/branches{/branch}","tags_url":"https://api.github.com/repos/ujh/iomrascalai/tags","blobs_url":"https://api.github.com/repos/ujh/iomrascalai/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ujh/iomrascalai/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ujh/iomrascalai/git/refs{/sha}","trees_url":"https://api.github.com/repos/ujh/iomrascalai/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ujh/iomrascalai/statuses/{sha}","languages_url":"https://api.github.com/repos/ujh/iomrascalai/languages","stargazers_url":"https://api.github.com/repos/ujh/iomrascalai/stargazers","contributors_url":"https://api.github.com/repos/ujh/iomrascalai/contributors","subscribers_url":"https://api.github.com/repos/ujh/iomrascalai/subscribers","subscription_url":"https://api.github.com/repos/ujh/iomrascalai/subscription","commits_url":"https://api.github.com/repos/ujh/iomrascalai/commits{/sha}","git_commits_url":"https://api.github.com/repos/ujh/iomrascalai/git/commits{/sha}","comments_url":"https://api.github.com/repos/ujh/iomrascalai/comments{/number}","issue_comment_url":"https://api.github.com/repos/ujh/iomrascalai/issues/comments/{number}","contents_url":"https://api.github.com/repos/ujh/iomrascalai/contents/{+path}","compare_url":"https://api.github.com/repos/ujh/iomrascalai/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ujh/iomrascalai/merges","archive_url":"https://api.github.com/repos/ujh/iomrascalai/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ujh/iomrascalai/downloads","issues_url":"https://api.github.com/repos/ujh/iomrascalai/issues{/number}","pulls_url":"https://api.github.com/repos/ujh/iomrascalai/pulls{/number}","milestones_url":"https://api.github.com/repos/ujh/iomrascalai/milestones{/number}","notifications_url":"https://api.github.com/repos/ujh/iomrascalai/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ujh/iomrascalai/labels{/name}","releases_url":"https://api.github.com/repos/ujh/iomrascalai/releases{/id}","created_at":"2014-04-17T08:48:55Z","updated_at":"2015-01-13T18:35:56Z","pushed_at":"2015-01-13T19:40:12Z","git_url":"git://github.com/ujh/iomrascalai.git","ssh_url":"git@github.com:ujh/iomrascalai.git","clone_url":"https://github.com/ujh/iomrascalai.git","svn_url":"https://github.com/ujh/iomrascalai","homepage":null,"size":1331,"stargazers_count":19,"watchers_count":19,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":13,"forks":3,"open_issues":13,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ujh/iomrascalai/pulls/74"},"html":{"href":"https://github.com/ujh/iomrascalai/pull/74"},"issue":{"href":"https://api.github.com/repos/ujh/iomrascalai/issues/74"},"comments":{"href":"https://api.github.com/repos/ujh/iomrascalai/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/ujh/iomrascalai/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/ujh/iomrascalai/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ujh/iomrascalai/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/ujh/iomrascalai/statuses/73a96c0d2cfeffb0af79b4dbc5915c63c880e3ac"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ujh","id":28911,"avatar_url":"https://avatars.githubusercontent.com/u/28911?v=3","gravatar_id":"","url":"https://api.github.com/users/ujh","html_url":"https://github.com/ujh","followers_url":"https://api.github.com/users/ujh/followers","following_url":"https://api.github.com/users/ujh/following{/other_user}","gists_url":"https://api.github.com/users/ujh/gists{/gist_id}","starred_url":"https://api.github.com/users/ujh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ujh/subscriptions","organizations_url":"https://api.github.com/users/ujh/orgs","repos_url":"https://api.github.com/users/ujh/repos","events_url":"https://api.github.com/users/ujh/events{/privacy}","received_events_url":"https://api.github.com/users/ujh/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":6,"changed_files":2}}