{"action":"opened","number":200,"pull_request":{"url":"https://api.github.com/repos/mitsuhiko/babel/pulls/200","id":41908577,"html_url":"https://github.com/mitsuhiko/babel/pull/200","diff_url":"https://github.com/mitsuhiko/babel/pull/200.diff","patch_url":"https://github.com/mitsuhiko/babel/pull/200.patch","issue_url":"https://api.github.com/repos/mitsuhiko/babel/issues/200","number":200,"state":"open","locked":false,"title":"Improve odict performance by making key search O(1) instead of perfor…","user":{"login":"artms","id":1893606,"avatar_url":"https://avatars.githubusercontent.com/u/1893606?v=3","gravatar_id":"","url":"https://api.github.com/users/artms","html_url":"https://github.com/artms","followers_url":"https://api.github.com/users/artms/followers","following_url":"https://api.github.com/users/artms/following{/other_user}","gists_url":"https://api.github.com/users/artms/gists{/gist_id}","starred_url":"https://api.github.com/users/artms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artms/subscriptions","organizations_url":"https://api.github.com/users/artms/orgs","repos_url":"https://api.github.com/users/artms/repos","events_url":"https://api.github.com/users/artms/events{/privacy}","received_events_url":"https://api.github.com/users/artms/received_events","type":"User","site_admin":false},"body":"Odict setitem method is linearly searching if item is present in keys list, which significantly reduces performance on big dict. Make it use hash.","created_at":"2015-08-07T16:19:41Z","updated_at":"2015-08-07T16:19:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mitsuhiko/babel/pulls/200/commits","review_comments_url":"https://api.github.com/repos/mitsuhiko/babel/pulls/200/comments","review_comment_url":"https://api.github.com/repos/mitsuhiko/babel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mitsuhiko/babel/issues/200/comments","statuses_url":"https://api.github.com/repos/mitsuhiko/babel/statuses/a262c72ae63dab1d121f3f77614419552b62ef44","head":{"label":"artms:odict_performance","ref":"odict_performance","sha":"a262c72ae63dab1d121f3f77614419552b62ef44","user":{"login":"artms","id":1893606,"avatar_url":"https://avatars.githubusercontent.com/u/1893606?v=3","gravatar_id":"","url":"https://api.github.com/users/artms","html_url":"https://github.com/artms","followers_url":"https://api.github.com/users/artms/followers","following_url":"https://api.github.com/users/artms/following{/other_user}","gists_url":"https://api.github.com/users/artms/gists{/gist_id}","starred_url":"https://api.github.com/users/artms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artms/subscriptions","organizations_url":"https://api.github.com/users/artms/orgs","repos_url":"https://api.github.com/users/artms/repos","events_url":"https://api.github.com/users/artms/events{/privacy}","received_events_url":"https://api.github.com/users/artms/received_events","type":"User","site_admin":false},"repo":{"id":40369317,"name":"babel","full_name":"artms/babel","owner":{"login":"artms","id":1893606,"avatar_url":"https://avatars.githubusercontent.com/u/1893606?v=3","gravatar_id":"","url":"https://api.github.com/users/artms","html_url":"https://github.com/artms","followers_url":"https://api.github.com/users/artms/followers","following_url":"https://api.github.com/users/artms/following{/other_user}","gists_url":"https://api.github.com/users/artms/gists{/gist_id}","starred_url":"https://api.github.com/users/artms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artms/subscriptions","organizations_url":"https://api.github.com/users/artms/orgs","repos_url":"https://api.github.com/users/artms/repos","events_url":"https://api.github.com/users/artms/events{/privacy}","received_events_url":"https://api.github.com/users/artms/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/artms/babel","description":"The new official repository for Babel, the Python Internationalization Library","fork":true,"url":"https://api.github.com/repos/artms/babel","forks_url":"https://api.github.com/repos/artms/babel/forks","keys_url":"https://api.github.com/repos/artms/babel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/artms/babel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/artms/babel/teams","hooks_url":"https://api.github.com/repos/artms/babel/hooks","issue_events_url":"https://api.github.com/repos/artms/babel/issues/events{/number}","events_url":"https://api.github.com/repos/artms/babel/events","assignees_url":"https://api.github.com/repos/artms/babel/assignees{/user}","branches_url":"https://api.github.com/repos/artms/babel/branches{/branch}","tags_url":"https://api.github.com/repos/artms/babel/tags","blobs_url":"https://api.github.com/repos/artms/babel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/artms/babel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/artms/babel/git/refs{/sha}","trees_url":"https://api.github.com/repos/artms/babel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/artms/babel/statuses/{sha}","languages_url":"https://api.github.com/repos/artms/babel/languages","stargazers_url":"https://api.github.com/repos/artms/babel/stargazers","contributors_url":"https://api.github.com/repos/artms/babel/contributors","subscribers_url":"https://api.github.com/repos/artms/babel/subscribers","subscription_url":"https://api.github.com/repos/artms/babel/subscription","commits_url":"https://api.github.com/repos/artms/babel/commits{/sha}","git_commits_url":"https://api.github.com/repos/artms/babel/git/commits{/sha}","comments_url":"https://api.github.com/repos/artms/babel/comments{/number}","issue_comment_url":"https://api.github.com/repos/artms/babel/issues/comments{/number}","contents_url":"https://api.github.com/repos/artms/babel/contents/{+path}","compare_url":"https://api.github.com/repos/artms/babel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/artms/babel/merges","archive_url":"https://api.github.com/repos/artms/babel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/artms/babel/downloads","issues_url":"https://api.github.com/repos/artms/babel/issues{/number}","pulls_url":"https://api.github.com/repos/artms/babel/pulls{/number}","milestones_url":"https://api.github.com/repos/artms/babel/milestones{/number}","notifications_url":"https://api.github.com/repos/artms/babel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/artms/babel/labels{/name}","releases_url":"https://api.github.com/repos/artms/babel/releases{/id}","created_at":"2015-08-07T16:13:50Z","updated_at":"2015-08-07T16:13:51Z","pushed_at":"2015-08-07T16:17:55Z","git_url":"git://github.com/artms/babel.git","ssh_url":"git@github.com:artms/babel.git","clone_url":"https://github.com/artms/babel.git","svn_url":"https://github.com/artms/babel","homepage":"http://babel.pocoo.org/","size":3589,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mitsuhiko:master","ref":"master","sha":"74ebe2a6b7234629433867648feaec91a6144ced","user":{"login":"mitsuhiko","id":7396,"avatar_url":"https://avatars.githubusercontent.com/u/7396?v=3","gravatar_id":"","url":"https://api.github.com/users/mitsuhiko","html_url":"https://github.com/mitsuhiko","followers_url":"https://api.github.com/users/mitsuhiko/followers","following_url":"https://api.github.com/users/mitsuhiko/following{/other_user}","gists_url":"https://api.github.com/users/mitsuhiko/gists{/gist_id}","starred_url":"https://api.github.com/users/mitsuhiko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitsuhiko/subscriptions","organizations_url":"https://api.github.com/users/mitsuhiko/orgs","repos_url":"https://api.github.com/users/mitsuhiko/repos","events_url":"https://api.github.com/users/mitsuhiko/events{/privacy}","received_events_url":"https://api.github.com/users/mitsuhiko/received_events","type":"User","site_admin":false},"repo":{"id":11150301,"name":"babel","full_name":"mitsuhiko/babel","owner":{"login":"mitsuhiko","id":7396,"avatar_url":"https://avatars.githubusercontent.com/u/7396?v=3","gravatar_id":"","url":"https://api.github.com/users/mitsuhiko","html_url":"https://github.com/mitsuhiko","followers_url":"https://api.github.com/users/mitsuhiko/followers","following_url":"https://api.github.com/users/mitsuhiko/following{/other_user}","gists_url":"https://api.github.com/users/mitsuhiko/gists{/gist_id}","starred_url":"https://api.github.com/users/mitsuhiko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitsuhiko/subscriptions","organizations_url":"https://api.github.com/users/mitsuhiko/orgs","repos_url":"https://api.github.com/users/mitsuhiko/repos","events_url":"https://api.github.com/users/mitsuhiko/events{/privacy}","received_events_url":"https://api.github.com/users/mitsuhiko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mitsuhiko/babel","description":"The new official repository for Babel, the Python Internationalization Library","fork":false,"url":"https://api.github.com/repos/mitsuhiko/babel","forks_url":"https://api.github.com/repos/mitsuhiko/babel/forks","keys_url":"https://api.github.com/repos/mitsuhiko/babel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mitsuhiko/babel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mitsuhiko/babel/teams","hooks_url":"https://api.github.com/repos/mitsuhiko/babel/hooks","issue_events_url":"https://api.github.com/repos/mitsuhiko/babel/issues/events{/number}","events_url":"https://api.github.com/repos/mitsuhiko/babel/events","assignees_url":"https://api.github.com/repos/mitsuhiko/babel/assignees{/user}","branches_url":"https://api.github.com/repos/mitsuhiko/babel/branches{/branch}","tags_url":"https://api.github.com/repos/mitsuhiko/babel/tags","blobs_url":"https://api.github.com/repos/mitsuhiko/babel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mitsuhiko/babel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mitsuhiko/babel/git/refs{/sha}","trees_url":"https://api.github.com/repos/mitsuhiko/babel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mitsuhiko/babel/statuses/{sha}","languages_url":"https://api.github.com/repos/mitsuhiko/babel/languages","stargazers_url":"https://api.github.com/repos/mitsuhiko/babel/stargazers","contributors_url":"https://api.github.com/repos/mitsuhiko/babel/contributors","subscribers_url":"https://api.github.com/repos/mitsuhiko/babel/subscribers","subscription_url":"https://api.github.com/repos/mitsuhiko/babel/subscription","commits_url":"https://api.github.com/repos/mitsuhiko/babel/commits{/sha}","git_commits_url":"https://api.github.com/repos/mitsuhiko/babel/git/commits{/sha}","comments_url":"https://api.github.com/repos/mitsuhiko/babel/comments{/number}","issue_comment_url":"https://api.github.com/repos/mitsuhiko/babel/issues/comments{/number}","contents_url":"https://api.github.com/repos/mitsuhiko/babel/contents/{+path}","compare_url":"https://api.github.com/repos/mitsuhiko/babel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mitsuhiko/babel/merges","archive_url":"https://api.github.com/repos/mitsuhiko/babel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mitsuhiko/babel/downloads","issues_url":"https://api.github.com/repos/mitsuhiko/babel/issues{/number}","pulls_url":"https://api.github.com/repos/mitsuhiko/babel/pulls{/number}","milestones_url":"https://api.github.com/repos/mitsuhiko/babel/milestones{/number}","notifications_url":"https://api.github.com/repos/mitsuhiko/babel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mitsuhiko/babel/labels{/name}","releases_url":"https://api.github.com/repos/mitsuhiko/babel/releases{/id}","created_at":"2013-07-03T12:25:10Z","updated_at":"2015-08-05T17:15:51Z","pushed_at":"2015-08-07T14:57:51Z","git_url":"git://github.com/mitsuhiko/babel.git","ssh_url":"git@github.com:mitsuhiko/babel.git","clone_url":"https://github.com/mitsuhiko/babel.git","svn_url":"https://github.com/mitsuhiko/babel","homepage":"http://babel.pocoo.org/","size":3589,"stargazers_count":380,"watchers_count":380,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":121,"mirror_url":null,"open_issues_count":93,"forks":121,"open_issues":93,"watchers":380,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mitsuhiko/babel/pulls/200"},"html":{"href":"https://github.com/mitsuhiko/babel/pull/200"},"issue":{"href":"https://api.github.com/repos/mitsuhiko/babel/issues/200"},"comments":{"href":"https://api.github.com/repos/mitsuhiko/babel/issues/200/comments"},"review_comments":{"href":"https://api.github.com/repos/mitsuhiko/babel/pulls/200/comments"},"review_comment":{"href":"https://api.github.com/repos/mitsuhiko/babel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mitsuhiko/babel/pulls/200/commits"},"statuses":{"href":"https://api.github.com/repos/mitsuhiko/babel/statuses/a262c72ae63dab1d121f3f77614419552b62ef44"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}