{"action":"opened","number":744,"pull_request":{"url":"https://api.github.com/repos/mdtraj/mdtraj/pulls/744","id":30203762,"html_url":"https://github.com/mdtraj/mdtraj/pull/744","diff_url":"https://github.com/mdtraj/mdtraj/pull/744.diff","patch_url":"https://github.com/mdtraj/mdtraj/pull/744.patch","issue_url":"https://api.github.com/repos/mdtraj/mdtraj/issues/744","number":744,"state":"open","locked":false,"title":"Improved efficiency of generating RDF pairs","user":{"login":"ctk3b","id":3527431,"avatar_url":"https://avatars.githubusercontent.com/u/3527431?v=3","gravatar_id":"","url":"https://api.github.com/users/ctk3b","html_url":"https://github.com/ctk3b","followers_url":"https://api.github.com/users/ctk3b/followers","following_url":"https://api.github.com/users/ctk3b/following{/other_user}","gists_url":"https://api.github.com/users/ctk3b/gists{/gist_id}","starred_url":"https://api.github.com/users/ctk3b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctk3b/subscriptions","organizations_url":"https://api.github.com/users/ctk3b/orgs","repos_url":"https://api.github.com/users/ctk3b/repos","events_url":"https://api.github.com/users/ctk3b/events{/privacy}","received_events_url":"https://api.github.com/users/ctk3b/received_events","type":"User","site_admin":false},"body":"Generating `pairs` scales pretty terribly as the number of atoms increase. This change removes the intermediate list/set creation and uses `fromiter` which seems to be both faster and more memory friendly. ","created_at":"2015-02-27T21:45:13Z","updated_at":"2015-02-27T21:45:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mdtraj/mdtraj/pulls/744/commits","review_comments_url":"https://api.github.com/repos/mdtraj/mdtraj/pulls/744/comments","review_comment_url":"https://api.github.com/repos/mdtraj/mdtraj/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mdtraj/mdtraj/issues/744/comments","statuses_url":"https://api.github.com/repos/mdtraj/mdtraj/statuses/ff137dd8c9338dbbd6b3d23e8b7476054b887f59","head":{"label":"ctk3b:master","ref":"master","sha":"ff137dd8c9338dbbd6b3d23e8b7476054b887f59","user":{"login":"ctk3b","id":3527431,"avatar_url":"https://avatars.githubusercontent.com/u/3527431?v=3","gravatar_id":"","url":"https://api.github.com/users/ctk3b","html_url":"https://github.com/ctk3b","followers_url":"https://api.github.com/users/ctk3b/followers","following_url":"https://api.github.com/users/ctk3b/following{/other_user}","gists_url":"https://api.github.com/users/ctk3b/gists{/gist_id}","starred_url":"https://api.github.com/users/ctk3b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctk3b/subscriptions","organizations_url":"https://api.github.com/users/ctk3b/orgs","repos_url":"https://api.github.com/users/ctk3b/repos","events_url":"https://api.github.com/users/ctk3b/events{/privacy}","received_events_url":"https://api.github.com/users/ctk3b/received_events","type":"User","site_admin":false},"repo":{"id":30364279,"name":"mdtraj","full_name":"ctk3b/mdtraj","owner":{"login":"ctk3b","id":3527431,"avatar_url":"https://avatars.githubusercontent.com/u/3527431?v=3","gravatar_id":"","url":"https://api.github.com/users/ctk3b","html_url":"https://github.com/ctk3b","followers_url":"https://api.github.com/users/ctk3b/followers","following_url":"https://api.github.com/users/ctk3b/following{/other_user}","gists_url":"https://api.github.com/users/ctk3b/gists{/gist_id}","starred_url":"https://api.github.com/users/ctk3b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctk3b/subscriptions","organizations_url":"https://api.github.com/users/ctk3b/orgs","repos_url":"https://api.github.com/users/ctk3b/repos","events_url":"https://api.github.com/users/ctk3b/events{/privacy}","received_events_url":"https://api.github.com/users/ctk3b/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ctk3b/mdtraj","description":"A modern, open library for the analysis of molecular dynamics trajectories","fork":true,"url":"https://api.github.com/repos/ctk3b/mdtraj","forks_url":"https://api.github.com/repos/ctk3b/mdtraj/forks","keys_url":"https://api.github.com/repos/ctk3b/mdtraj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ctk3b/mdtraj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ctk3b/mdtraj/teams","hooks_url":"https://api.github.com/repos/ctk3b/mdtraj/hooks","issue_events_url":"https://api.github.com/repos/ctk3b/mdtraj/issues/events{/number}","events_url":"https://api.github.com/repos/ctk3b/mdtraj/events","assignees_url":"https://api.github.com/repos/ctk3b/mdtraj/assignees{/user}","branches_url":"https://api.github.com/repos/ctk3b/mdtraj/branches{/branch}","tags_url":"https://api.github.com/repos/ctk3b/mdtraj/tags","blobs_url":"https://api.github.com/repos/ctk3b/mdtraj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ctk3b/mdtraj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ctk3b/mdtraj/git/refs{/sha}","trees_url":"https://api.github.com/repos/ctk3b/mdtraj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ctk3b/mdtraj/statuses/{sha}","languages_url":"https://api.github.com/repos/ctk3b/mdtraj/languages","stargazers_url":"https://api.github.com/repos/ctk3b/mdtraj/stargazers","contributors_url":"https://api.github.com/repos/ctk3b/mdtraj/contributors","subscribers_url":"https://api.github.com/repos/ctk3b/mdtraj/subscribers","subscription_url":"https://api.github.com/repos/ctk3b/mdtraj/subscription","commits_url":"https://api.github.com/repos/ctk3b/mdtraj/commits{/sha}","git_commits_url":"https://api.github.com/repos/ctk3b/mdtraj/git/commits{/sha}","comments_url":"https://api.github.com/repos/ctk3b/mdtraj/comments{/number}","issue_comment_url":"https://api.github.com/repos/ctk3b/mdtraj/issues/comments{/number}","contents_url":"https://api.github.com/repos/ctk3b/mdtraj/contents/{+path}","compare_url":"https://api.github.com/repos/ctk3b/mdtraj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ctk3b/mdtraj/merges","archive_url":"https://api.github.com/repos/ctk3b/mdtraj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ctk3b/mdtraj/downloads","issues_url":"https://api.github.com/repos/ctk3b/mdtraj/issues{/number}","pulls_url":"https://api.github.com/repos/ctk3b/mdtraj/pulls{/number}","milestones_url":"https://api.github.com/repos/ctk3b/mdtraj/milestones{/number}","notifications_url":"https://api.github.com/repos/ctk3b/mdtraj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ctk3b/mdtraj/labels{/name}","releases_url":"https://api.github.com/repos/ctk3b/mdtraj/releases{/id}","created_at":"2015-02-05T16:03:11Z","updated_at":"2015-02-27T21:37:21Z","pushed_at":"2015-02-27T21:37:21Z","git_url":"git://github.com/ctk3b/mdtraj.git","ssh_url":"git@github.com:ctk3b/mdtraj.git","clone_url":"https://github.com/ctk3b/mdtraj.git","svn_url":"https://github.com/ctk3b/mdtraj","homepage":"www.mdtraj.org","size":31537,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mdtraj:master","ref":"master","sha":"4bdc6e89093c9e710c6d554d256b5a8153160164","user":{"login":"mdtraj","id":9259532,"avatar_url":"https://avatars.githubusercontent.com/u/9259532?v=3","gravatar_id":"","url":"https://api.github.com/users/mdtraj","html_url":"https://github.com/mdtraj","followers_url":"https://api.github.com/users/mdtraj/followers","following_url":"https://api.github.com/users/mdtraj/following{/other_user}","gists_url":"https://api.github.com/users/mdtraj/gists{/gist_id}","starred_url":"https://api.github.com/users/mdtraj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdtraj/subscriptions","organizations_url":"https://api.github.com/users/mdtraj/orgs","repos_url":"https://api.github.com/users/mdtraj/repos","events_url":"https://api.github.com/users/mdtraj/events{/privacy}","received_events_url":"https://api.github.com/users/mdtraj/received_events","type":"Organization","site_admin":false},"repo":{"id":6604361,"name":"mdtraj","full_name":"mdtraj/mdtraj","owner":{"login":"mdtraj","id":9259532,"avatar_url":"https://avatars.githubusercontent.com/u/9259532?v=3","gravatar_id":"","url":"https://api.github.com/users/mdtraj","html_url":"https://github.com/mdtraj","followers_url":"https://api.github.com/users/mdtraj/followers","following_url":"https://api.github.com/users/mdtraj/following{/other_user}","gists_url":"https://api.github.com/users/mdtraj/gists{/gist_id}","starred_url":"https://api.github.com/users/mdtraj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdtraj/subscriptions","organizations_url":"https://api.github.com/users/mdtraj/orgs","repos_url":"https://api.github.com/users/mdtraj/repos","events_url":"https://api.github.com/users/mdtraj/events{/privacy}","received_events_url":"https://api.github.com/users/mdtraj/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mdtraj/mdtraj","description":"A modern, open library for the analysis of molecular dynamics trajectories","fork":false,"url":"https://api.github.com/repos/mdtraj/mdtraj","forks_url":"https://api.github.com/repos/mdtraj/mdtraj/forks","keys_url":"https://api.github.com/repos/mdtraj/mdtraj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mdtraj/mdtraj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mdtraj/mdtraj/teams","hooks_url":"https://api.github.com/repos/mdtraj/mdtraj/hooks","issue_events_url":"https://api.github.com/repos/mdtraj/mdtraj/issues/events{/number}","events_url":"https://api.github.com/repos/mdtraj/mdtraj/events","assignees_url":"https://api.github.com/repos/mdtraj/mdtraj/assignees{/user}","branches_url":"https://api.github.com/repos/mdtraj/mdtraj/branches{/branch}","tags_url":"https://api.github.com/repos/mdtraj/mdtraj/tags","blobs_url":"https://api.github.com/repos/mdtraj/mdtraj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mdtraj/mdtraj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mdtraj/mdtraj/git/refs{/sha}","trees_url":"https://api.github.com/repos/mdtraj/mdtraj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mdtraj/mdtraj/statuses/{sha}","languages_url":"https://api.github.com/repos/mdtraj/mdtraj/languages","stargazers_url":"https://api.github.com/repos/mdtraj/mdtraj/stargazers","contributors_url":"https://api.github.com/repos/mdtraj/mdtraj/contributors","subscribers_url":"https://api.github.com/repos/mdtraj/mdtraj/subscribers","subscription_url":"https://api.github.com/repos/mdtraj/mdtraj/subscription","commits_url":"https://api.github.com/repos/mdtraj/mdtraj/commits{/sha}","git_commits_url":"https://api.github.com/repos/mdtraj/mdtraj/git/commits{/sha}","comments_url":"https://api.github.com/repos/mdtraj/mdtraj/comments{/number}","issue_comment_url":"https://api.github.com/repos/mdtraj/mdtraj/issues/comments{/number}","contents_url":"https://api.github.com/repos/mdtraj/mdtraj/contents/{+path}","compare_url":"https://api.github.com/repos/mdtraj/mdtraj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mdtraj/mdtraj/merges","archive_url":"https://api.github.com/repos/mdtraj/mdtraj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mdtraj/mdtraj/downloads","issues_url":"https://api.github.com/repos/mdtraj/mdtraj/issues{/number}","pulls_url":"https://api.github.com/repos/mdtraj/mdtraj/pulls{/number}","milestones_url":"https://api.github.com/repos/mdtraj/mdtraj/milestones{/number}","notifications_url":"https://api.github.com/repos/mdtraj/mdtraj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mdtraj/mdtraj/labels{/name}","releases_url":"https://api.github.com/repos/mdtraj/mdtraj/releases{/id}","created_at":"2012-11-08T22:01:24Z","updated_at":"2015-02-26T23:59:24Z","pushed_at":"2015-02-26T23:56:22Z","git_url":"git://github.com/mdtraj/mdtraj.git","ssh_url":"git@github.com:mdtraj/mdtraj.git","clone_url":"https://github.com/mdtraj/mdtraj.git","svn_url":"https://github.com/mdtraj/mdtraj","homepage":"www.mdtraj.org","size":36594,"stargazers_count":44,"watchers_count":44,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":38,"mirror_url":null,"open_issues_count":37,"forks":38,"open_issues":37,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mdtraj/mdtraj/pulls/744"},"html":{"href":"https://github.com/mdtraj/mdtraj/pull/744"},"issue":{"href":"https://api.github.com/repos/mdtraj/mdtraj/issues/744"},"comments":{"href":"https://api.github.com/repos/mdtraj/mdtraj/issues/744/comments"},"review_comments":{"href":"https://api.github.com/repos/mdtraj/mdtraj/pulls/744/comments"},"review_comment":{"href":"https://api.github.com/repos/mdtraj/mdtraj/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mdtraj/mdtraj/pulls/744/commits"},"statuses":{"href":"https://api.github.com/repos/mdtraj/mdtraj/statuses/ff137dd8c9338dbbd6b3d23e8b7476054b887f59"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":9,"changed_files":1}}