{"action":"closed","number":25,"pull_request":{"url":"https://api.github.com/repos/robrix/Set/pulls/25","id":27637164,"html_url":"https://github.com/robrix/Set/pull/25","diff_url":"https://github.com/robrix/Set/pull/25.diff","patch_url":"https://github.com/robrix/Set/pull/25.patch","issue_url":"https://api.github.com/repos/robrix/Set/issues/25","number":25,"state":"closed","locked":false,"title":"Fix intersection","user":{"login":"robrix","id":59671,"avatar_url":"https://avatars.githubusercontent.com/u/59671?v=3","gravatar_id":"","url":"https://api.github.com/users/robrix","html_url":"https://github.com/robrix","followers_url":"https://api.github.com/users/robrix/followers","following_url":"https://api.github.com/users/robrix/following{/other_user}","gists_url":"https://api.github.com/users/robrix/gists{/gist_id}","starred_url":"https://api.github.com/users/robrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robrix/subscriptions","organizations_url":"https://api.github.com/users/robrix/orgs","repos_url":"https://api.github.com/users/robrix/repos","events_url":"https://api.github.com/users/robrix/events{/privacy}","received_events_url":"https://api.github.com/users/robrix/received_events","type":"User","site_admin":true},"body":"Intersecting a set with a shorter set was broken.\r\n\r\nThis PR corrects that, optimizes extend(), and uses a single code path for the difference/intersection operators, whether assigning or returning.\r\n\r\nI also took the opportunity to make misc. style changes.","created_at":"2015-01-19T21:32:23Z","updated_at":"2015-01-19T22:28:15Z","closed_at":"2015-01-19T22:28:15Z","merged_at":"2015-01-19T22:28:15Z","merge_commit_sha":"8446841319982b2f94036d9d2eec9c4300512713","assignee":{"login":"sharplet","id":147686,"avatar_url":"https://avatars.githubusercontent.com/u/147686?v=3","gravatar_id":"","url":"https://api.github.com/users/sharplet","html_url":"https://github.com/sharplet","followers_url":"https://api.github.com/users/sharplet/followers","following_url":"https://api.github.com/users/sharplet/following{/other_user}","gists_url":"https://api.github.com/users/sharplet/gists{/gist_id}","starred_url":"https://api.github.com/users/sharplet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharplet/subscriptions","organizations_url":"https://api.github.com/users/sharplet/orgs","repos_url":"https://api.github.com/users/sharplet/repos","events_url":"https://api.github.com/users/sharplet/events{/privacy}","received_events_url":"https://api.github.com/users/sharplet/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/robrix/Set/pulls/25/commits","review_comments_url":"https://api.github.com/repos/robrix/Set/pulls/25/comments","review_comment_url":"https://api.github.com/repos/robrix/Set/pulls/comments/{number}","comments_url":"https://api.github.com/repos/robrix/Set/issues/25/comments","statuses_url":"https://api.github.com/repos/robrix/Set/statuses/8a8dc2e41a1da106e8ac1c55f1a76e592dc97fe1","head":{"label":"robrix:fix-intersection","ref":"fix-intersection","sha":"8a8dc2e41a1da106e8ac1c55f1a76e592dc97fe1","user":{"login":"robrix","id":59671,"avatar_url":"https://avatars.githubusercontent.com/u/59671?v=3","gravatar_id":"","url":"https://api.github.com/users/robrix","html_url":"https://github.com/robrix","followers_url":"https://api.github.com/users/robrix/followers","following_url":"https://api.github.com/users/robrix/following{/other_user}","gists_url":"https://api.github.com/users/robrix/gists{/gist_id}","starred_url":"https://api.github.com/users/robrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robrix/subscriptions","organizations_url":"https://api.github.com/users/robrix/orgs","repos_url":"https://api.github.com/users/robrix/repos","events_url":"https://api.github.com/users/robrix/events{/privacy}","received_events_url":"https://api.github.com/users/robrix/received_events","type":"User","site_admin":true},"repo":{"id":21105769,"name":"Set","full_name":"robrix/Set","owner":{"login":"robrix","id":59671,"avatar_url":"https://avatars.githubusercontent.com/u/59671?v=3","gravatar_id":"","url":"https://api.github.com/users/robrix","html_url":"https://github.com/robrix","followers_url":"https://api.github.com/users/robrix/followers","following_url":"https://api.github.com/users/robrix/following{/other_user}","gists_url":"https://api.github.com/users/robrix/gists{/gist_id}","starred_url":"https://api.github.com/users/robrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robrix/subscriptions","organizations_url":"https://api.github.com/users/robrix/orgs","repos_url":"https://api.github.com/users/robrix/repos","events_url":"https://api.github.com/users/robrix/events{/privacy}","received_events_url":"https://api.github.com/users/robrix/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/robrix/Set","description":"An implementation of a Dictionary-backed Set in Swift.","fork":false,"url":"https://api.github.com/repos/robrix/Set","forks_url":"https://api.github.com/repos/robrix/Set/forks","keys_url":"https://api.github.com/repos/robrix/Set/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robrix/Set/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robrix/Set/teams","hooks_url":"https://api.github.com/repos/robrix/Set/hooks","issue_events_url":"https://api.github.com/repos/robrix/Set/issues/events{/number}","events_url":"https://api.github.com/repos/robrix/Set/events","assignees_url":"https://api.github.com/repos/robrix/Set/assignees{/user}","branches_url":"https://api.github.com/repos/robrix/Set/branches{/branch}","tags_url":"https://api.github.com/repos/robrix/Set/tags","blobs_url":"https://api.github.com/repos/robrix/Set/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robrix/Set/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robrix/Set/git/refs{/sha}","trees_url":"https://api.github.com/repos/robrix/Set/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robrix/Set/statuses/{sha}","languages_url":"https://api.github.com/repos/robrix/Set/languages","stargazers_url":"https://api.github.com/repos/robrix/Set/stargazers","contributors_url":"https://api.github.com/repos/robrix/Set/contributors","subscribers_url":"https://api.github.com/repos/robrix/Set/subscribers","subscription_url":"https://api.github.com/repos/robrix/Set/subscription","commits_url":"https://api.github.com/repos/robrix/Set/commits{/sha}","git_commits_url":"https://api.github.com/repos/robrix/Set/git/commits{/sha}","comments_url":"https://api.github.com/repos/robrix/Set/comments{/number}","issue_comment_url":"https://api.github.com/repos/robrix/Set/issues/comments/{number}","contents_url":"https://api.github.com/repos/robrix/Set/contents/{+path}","compare_url":"https://api.github.com/repos/robrix/Set/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robrix/Set/merges","archive_url":"https://api.github.com/repos/robrix/Set/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robrix/Set/downloads","issues_url":"https://api.github.com/repos/robrix/Set/issues{/number}","pulls_url":"https://api.github.com/repos/robrix/Set/pulls{/number}","milestones_url":"https://api.github.com/repos/robrix/Set/milestones{/number}","notifications_url":"https://api.github.com/repos/robrix/Set/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robrix/Set/labels{/name}","releases_url":"https://api.github.com/repos/robrix/Set/releases{/id}","created_at":"2014-06-22T21:16:21Z","updated_at":"2015-01-19T22:28:15Z","pushed_at":"2015-01-19T22:28:15Z","git_url":"git://github.com/robrix/Set.git","ssh_url":"git@github.com:robrix/Set.git","clone_url":"https://github.com/robrix/Set.git","svn_url":"https://github.com/robrix/Set","homepage":"","size":498,"stargazers_count":61,"watchers_count":61,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":9,"forks":9,"open_issues":9,"watchers":61,"default_branch":"master"}},"base":{"label":"robrix:master","ref":"master","sha":"b5e930ad2bf24fc8c84fc3860ab35114052947c1","user":{"login":"robrix","id":59671,"avatar_url":"https://avatars.githubusercontent.com/u/59671?v=3","gravatar_id":"","url":"https://api.github.com/users/robrix","html_url":"https://github.com/robrix","followers_url":"https://api.github.com/users/robrix/followers","following_url":"https://api.github.com/users/robrix/following{/other_user}","gists_url":"https://api.github.com/users/robrix/gists{/gist_id}","starred_url":"https://api.github.com/users/robrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robrix/subscriptions","organizations_url":"https://api.github.com/users/robrix/orgs","repos_url":"https://api.github.com/users/robrix/repos","events_url":"https://api.github.com/users/robrix/events{/privacy}","received_events_url":"https://api.github.com/users/robrix/received_events","type":"User","site_admin":true},"repo":{"id":21105769,"name":"Set","full_name":"robrix/Set","owner":{"login":"robrix","id":59671,"avatar_url":"https://avatars.githubusercontent.com/u/59671?v=3","gravatar_id":"","url":"https://api.github.com/users/robrix","html_url":"https://github.com/robrix","followers_url":"https://api.github.com/users/robrix/followers","following_url":"https://api.github.com/users/robrix/following{/other_user}","gists_url":"https://api.github.com/users/robrix/gists{/gist_id}","starred_url":"https://api.github.com/users/robrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robrix/subscriptions","organizations_url":"https://api.github.com/users/robrix/orgs","repos_url":"https://api.github.com/users/robrix/repos","events_url":"https://api.github.com/users/robrix/events{/privacy}","received_events_url":"https://api.github.com/users/robrix/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/robrix/Set","description":"An implementation of a Dictionary-backed Set in Swift.","fork":false,"url":"https://api.github.com/repos/robrix/Set","forks_url":"https://api.github.com/repos/robrix/Set/forks","keys_url":"https://api.github.com/repos/robrix/Set/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robrix/Set/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robrix/Set/teams","hooks_url":"https://api.github.com/repos/robrix/Set/hooks","issue_events_url":"https://api.github.com/repos/robrix/Set/issues/events{/number}","events_url":"https://api.github.com/repos/robrix/Set/events","assignees_url":"https://api.github.com/repos/robrix/Set/assignees{/user}","branches_url":"https://api.github.com/repos/robrix/Set/branches{/branch}","tags_url":"https://api.github.com/repos/robrix/Set/tags","blobs_url":"https://api.github.com/repos/robrix/Set/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robrix/Set/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robrix/Set/git/refs{/sha}","trees_url":"https://api.github.com/repos/robrix/Set/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robrix/Set/statuses/{sha}","languages_url":"https://api.github.com/repos/robrix/Set/languages","stargazers_url":"https://api.github.com/repos/robrix/Set/stargazers","contributors_url":"https://api.github.com/repos/robrix/Set/contributors","subscribers_url":"https://api.github.com/repos/robrix/Set/subscribers","subscription_url":"https://api.github.com/repos/robrix/Set/subscription","commits_url":"https://api.github.com/repos/robrix/Set/commits{/sha}","git_commits_url":"https://api.github.com/repos/robrix/Set/git/commits{/sha}","comments_url":"https://api.github.com/repos/robrix/Set/comments{/number}","issue_comment_url":"https://api.github.com/repos/robrix/Set/issues/comments/{number}","contents_url":"https://api.github.com/repos/robrix/Set/contents/{+path}","compare_url":"https://api.github.com/repos/robrix/Set/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robrix/Set/merges","archive_url":"https://api.github.com/repos/robrix/Set/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robrix/Set/downloads","issues_url":"https://api.github.com/repos/robrix/Set/issues{/number}","pulls_url":"https://api.github.com/repos/robrix/Set/pulls{/number}","milestones_url":"https://api.github.com/repos/robrix/Set/milestones{/number}","notifications_url":"https://api.github.com/repos/robrix/Set/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robrix/Set/labels{/name}","releases_url":"https://api.github.com/repos/robrix/Set/releases{/id}","created_at":"2014-06-22T21:16:21Z","updated_at":"2015-01-19T22:28:15Z","pushed_at":"2015-01-19T22:28:15Z","git_url":"git://github.com/robrix/Set.git","ssh_url":"git@github.com:robrix/Set.git","clone_url":"https://github.com/robrix/Set.git","svn_url":"https://github.com/robrix/Set","homepage":"","size":498,"stargazers_count":61,"watchers_count":61,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":9,"forks":9,"open_issues":9,"watchers":61,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/robrix/Set/pulls/25"},"html":{"href":"https://github.com/robrix/Set/pull/25"},"issue":{"href":"https://api.github.com/repos/robrix/Set/issues/25"},"comments":{"href":"https://api.github.com/repos/robrix/Set/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/robrix/Set/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/robrix/Set/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/robrix/Set/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/robrix/Set/statuses/8a8dc2e41a1da106e8ac1c55f1a76e592dc97fe1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"robrix","id":59671,"avatar_url":"https://avatars.githubusercontent.com/u/59671?v=3","gravatar_id":"","url":"https://api.github.com/users/robrix","html_url":"https://github.com/robrix","followers_url":"https://api.github.com/users/robrix/followers","following_url":"https://api.github.com/users/robrix/following{/other_user}","gists_url":"https://api.github.com/users/robrix/gists{/gist_id}","starred_url":"https://api.github.com/users/robrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robrix/subscriptions","organizations_url":"https://api.github.com/users/robrix/orgs","repos_url":"https://api.github.com/users/robrix/repos","events_url":"https://api.github.com/users/robrix/events{/privacy}","received_events_url":"https://api.github.com/users/robrix/received_events","type":"User","site_admin":true},"comments":4,"review_comments":5,"commits":9,"additions":15,"deletions":14,"changed_files":2}}