{"action":"closed","number":13,"pull_request":{"url":"https://api.github.com/repos/ClusterHQ/pyrsistent/pulls/13","id":72429799,"html_url":"https://github.com/ClusterHQ/pyrsistent/pull/13","diff_url":"https://github.com/ClusterHQ/pyrsistent/pull/13.diff","patch_url":"https://github.com/ClusterHQ/pyrsistent/pull/13.patch","issue_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/issues/13","number":13,"state":"closed","locked":false,"title":"[FLOC-4427] Return the same object more often.","user":{"login":"sarum90","id":604129,"avatar_url":"https://avatars.githubusercontent.com/u/604129?v=3","gravatar_id":"","url":"https://api.github.com/users/sarum90","html_url":"https://github.com/sarum90","followers_url":"https://api.github.com/users/sarum90/followers","following_url":"https://api.github.com/users/sarum90/following{/other_user}","gists_url":"https://api.github.com/users/sarum90/gists{/gist_id}","starred_url":"https://api.github.com/users/sarum90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarum90/subscriptions","organizations_url":"https://api.github.com/users/sarum90/orgs","repos_url":"https://api.github.com/users/sarum90/repos","events_url":"https://api.github.com/users/sarum90/events{/privacy}","received_events_url":"https://api.github.com/users/sarum90/received_events","type":"User","site_admin":false},"body":"With larger and larger pyrsistent objects it becomes even more important to get the exact same object back from transformations and calls to `set` if they could be no-ops so that the `__eq__` optimization is hit more frequently.\r\n\r\nI saw increased CPU time in pmap.__eq__ despite the `hash` optimization in Pmap.__eq__ which suggested to me that objects that had the same hash, but were not the exact same object were being compared. This seems to have made the problem decrease in severity.","created_at":"2016-06-02T22:45:37Z","updated_at":"2016-06-03T17:10:51Z","closed_at":"2016-06-03T17:10:51Z","merged_at":"2016-06-03T17:10:51Z","merge_commit_sha":"9172c5561b8396edd29c3f965efe050112fc217b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/pulls/13/commits","review_comments_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/pulls/13/comments","review_comment_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/issues/13/comments","statuses_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/statuses/c1b56e1547da25aae07d29535f5b874acd7ba717","head":{"label":"ClusterHQ:FLOC-4427-fast-transformations","ref":"FLOC-4427-fast-transformations","sha":"c1b56e1547da25aae07d29535f5b874acd7ba717","user":{"login":"ClusterHQ","id":7913449,"avatar_url":"https://avatars.githubusercontent.com/u/7913449?v=3","gravatar_id":"","url":"https://api.github.com/users/ClusterHQ","html_url":"https://github.com/ClusterHQ","followers_url":"https://api.github.com/users/ClusterHQ/followers","following_url":"https://api.github.com/users/ClusterHQ/following{/other_user}","gists_url":"https://api.github.com/users/ClusterHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ClusterHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClusterHQ/subscriptions","organizations_url":"https://api.github.com/users/ClusterHQ/orgs","repos_url":"https://api.github.com/users/ClusterHQ/repos","events_url":"https://api.github.com/users/ClusterHQ/events{/privacy}","received_events_url":"https://api.github.com/users/ClusterHQ/received_events","type":"Organization","site_admin":false},"repo":{"id":54660693,"name":"pyrsistent","full_name":"ClusterHQ/pyrsistent","owner":{"login":"ClusterHQ","id":7913449,"avatar_url":"https://avatars.githubusercontent.com/u/7913449?v=3","gravatar_id":"","url":"https://api.github.com/users/ClusterHQ","html_url":"https://github.com/ClusterHQ","followers_url":"https://api.github.com/users/ClusterHQ/followers","following_url":"https://api.github.com/users/ClusterHQ/following{/other_user}","gists_url":"https://api.github.com/users/ClusterHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ClusterHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClusterHQ/subscriptions","organizations_url":"https://api.github.com/users/ClusterHQ/orgs","repos_url":"https://api.github.com/users/ClusterHQ/repos","events_url":"https://api.github.com/users/ClusterHQ/events{/privacy}","received_events_url":"https://api.github.com/users/ClusterHQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ClusterHQ/pyrsistent","description":"Persistent/Immutable/Functional data structures for Python","fork":true,"url":"https://api.github.com/repos/ClusterHQ/pyrsistent","forks_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/forks","keys_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/teams","hooks_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/hooks","issue_events_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/issues/events{/number}","events_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/events","assignees_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/assignees{/user}","branches_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/branches{/branch}","tags_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/tags","blobs_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/git/refs{/sha}","trees_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/statuses/{sha}","languages_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/languages","stargazers_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/stargazers","contributors_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/contributors","subscribers_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/subscribers","subscription_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/subscription","commits_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/commits{/sha}","git_commits_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/git/commits{/sha}","comments_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/comments{/number}","issue_comment_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/issues/comments{/number}","contents_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/contents/{+path}","compare_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/merges","archive_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/downloads","issues_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/issues{/number}","pulls_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/pulls{/number}","milestones_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/milestones{/number}","notifications_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/labels{/name}","releases_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/releases{/id}","deployments_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/deployments","created_at":"2016-03-24T17:23:16Z","updated_at":"2016-03-24T17:23:17Z","pushed_at":"2016-06-03T17:10:51Z","git_url":"git://github.com/ClusterHQ/pyrsistent.git","ssh_url":"git@github.com:ClusterHQ/pyrsistent.git","clone_url":"https://github.com/ClusterHQ/pyrsistent.git","svn_url":"https://github.com/ClusterHQ/pyrsistent","homepage":"","size":805,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ClusterHQ:master","ref":"master","sha":"5ab02994aa2abb85c7b86c92dfa0ac9686befc0e","user":{"login":"ClusterHQ","id":7913449,"avatar_url":"https://avatars.githubusercontent.com/u/7913449?v=3","gravatar_id":"","url":"https://api.github.com/users/ClusterHQ","html_url":"https://github.com/ClusterHQ","followers_url":"https://api.github.com/users/ClusterHQ/followers","following_url":"https://api.github.com/users/ClusterHQ/following{/other_user}","gists_url":"https://api.github.com/users/ClusterHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ClusterHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClusterHQ/subscriptions","organizations_url":"https://api.github.com/users/ClusterHQ/orgs","repos_url":"https://api.github.com/users/ClusterHQ/repos","events_url":"https://api.github.com/users/ClusterHQ/events{/privacy}","received_events_url":"https://api.github.com/users/ClusterHQ/received_events","type":"Organization","site_admin":false},"repo":{"id":54660693,"name":"pyrsistent","full_name":"ClusterHQ/pyrsistent","owner":{"login":"ClusterHQ","id":7913449,"avatar_url":"https://avatars.githubusercontent.com/u/7913449?v=3","gravatar_id":"","url":"https://api.github.com/users/ClusterHQ","html_url":"https://github.com/ClusterHQ","followers_url":"https://api.github.com/users/ClusterHQ/followers","following_url":"https://api.github.com/users/ClusterHQ/following{/other_user}","gists_url":"https://api.github.com/users/ClusterHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ClusterHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClusterHQ/subscriptions","organizations_url":"https://api.github.com/users/ClusterHQ/orgs","repos_url":"https://api.github.com/users/ClusterHQ/repos","events_url":"https://api.github.com/users/ClusterHQ/events{/privacy}","received_events_url":"https://api.github.com/users/ClusterHQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ClusterHQ/pyrsistent","description":"Persistent/Immutable/Functional data structures for Python","fork":true,"url":"https://api.github.com/repos/ClusterHQ/pyrsistent","forks_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/forks","keys_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/teams","hooks_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/hooks","issue_events_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/issues/events{/number}","events_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/events","assignees_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/assignees{/user}","branches_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/branches{/branch}","tags_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/tags","blobs_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/git/refs{/sha}","trees_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/statuses/{sha}","languages_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/languages","stargazers_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/stargazers","contributors_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/contributors","subscribers_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/subscribers","subscription_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/subscription","commits_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/commits{/sha}","git_commits_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/git/commits{/sha}","comments_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/comments{/number}","issue_comment_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/issues/comments{/number}","contents_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/contents/{+path}","compare_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/merges","archive_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/downloads","issues_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/issues{/number}","pulls_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/pulls{/number}","milestones_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/milestones{/number}","notifications_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/labels{/name}","releases_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/releases{/id}","deployments_url":"https://api.github.com/repos/ClusterHQ/pyrsistent/deployments","created_at":"2016-03-24T17:23:16Z","updated_at":"2016-03-24T17:23:17Z","pushed_at":"2016-06-03T17:10:51Z","git_url":"git://github.com/ClusterHQ/pyrsistent.git","ssh_url":"git@github.com:ClusterHQ/pyrsistent.git","clone_url":"https://github.com/ClusterHQ/pyrsistent.git","svn_url":"https://github.com/ClusterHQ/pyrsistent","homepage":"","size":805,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ClusterHQ/pyrsistent/pulls/13"},"html":{"href":"https://github.com/ClusterHQ/pyrsistent/pull/13"},"issue":{"href":"https://api.github.com/repos/ClusterHQ/pyrsistent/issues/13"},"comments":{"href":"https://api.github.com/repos/ClusterHQ/pyrsistent/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/ClusterHQ/pyrsistent/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/ClusterHQ/pyrsistent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ClusterHQ/pyrsistent/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/ClusterHQ/pyrsistent/statuses/c1b56e1547da25aae07d29535f5b874acd7ba717"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"sarum90","id":604129,"avatar_url":"https://avatars.githubusercontent.com/u/604129?v=3","gravatar_id":"","url":"https://api.github.com/users/sarum90","html_url":"https://github.com/sarum90","followers_url":"https://api.github.com/users/sarum90/followers","following_url":"https://api.github.com/users/sarum90/following{/other_user}","gists_url":"https://api.github.com/users/sarum90/gists{/gist_id}","starred_url":"https://api.github.com/users/sarum90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarum90/subscriptions","organizations_url":"https://api.github.com/users/sarum90/orgs","repos_url":"https://api.github.com/users/sarum90/repos","events_url":"https://api.github.com/users/sarum90/events{/privacy}","received_events_url":"https://api.github.com/users/sarum90/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":3,"additions":41,"deletions":20,"changed_files":5}}
{"actor":{"display_login":"sarum90"}}