{"action":"opened","number":78,"pull_request":{"url":"https://api.github.com/repos/menpo/menpofit/pulls/78","id":51666550,"html_url":"https://github.com/menpo/menpofit/pull/78","diff_url":"https://github.com/menpo/menpofit/pull/78.diff","patch_url":"https://github.com/menpo/menpofit/pull/78.patch","issue_url":"https://api.github.com/repos/menpo/menpofit/issues/78","number":78,"state":"open","locked":false,"title":"Avoid copying to a new list in DlibERT _train() if unnecessary.","user":{"login":"grigorisg9gr","id":2621492,"avatar_url":"https://avatars.githubusercontent.com/u/2621492?v=3","gravatar_id":"","url":"https://api.github.com/users/grigorisg9gr","html_url":"https://github.com/grigorisg9gr","followers_url":"https://api.github.com/users/grigorisg9gr/followers","following_url":"https://api.github.com/users/grigorisg9gr/following{/other_user}","gists_url":"https://api.github.com/users/grigorisg9gr/gists{/gist_id}","starred_url":"https://api.github.com/users/grigorisg9gr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grigorisg9gr/subscriptions","organizations_url":"https://api.github.com/users/grigorisg9gr/orgs","repos_url":"https://api.github.com/users/grigorisg9gr/repos","events_url":"https://api.github.com/users/grigorisg9gr/events{/privacy}","received_events_url":"https://api.github.com/users/grigorisg9gr/received_events","type":"User","site_admin":false},"body":"Copying to a new list at that point seems unnecessary, if it's already a list. Plus it takes a lot of memory if the original_images has several thousands of images. ","created_at":"2015-11-24T14:32:51Z","updated_at":"2015-11-24T14:32:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/menpo/menpofit/pulls/78/commits","review_comments_url":"https://api.github.com/repos/menpo/menpofit/pulls/78/comments","review_comment_url":"https://api.github.com/repos/menpo/menpofit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/menpo/menpofit/issues/78/comments","statuses_url":"https://api.github.com/repos/menpo/menpofit/statuses/07cee08a8809f12ef39cfd0fe1596750b9d3f39f","head":{"label":"grigorisg9gr:no_new_list_dlib","ref":"no_new_list_dlib","sha":"07cee08a8809f12ef39cfd0fe1596750b9d3f39f","user":{"login":"grigorisg9gr","id":2621492,"avatar_url":"https://avatars.githubusercontent.com/u/2621492?v=3","gravatar_id":"","url":"https://api.github.com/users/grigorisg9gr","html_url":"https://github.com/grigorisg9gr","followers_url":"https://api.github.com/users/grigorisg9gr/followers","following_url":"https://api.github.com/users/grigorisg9gr/following{/other_user}","gists_url":"https://api.github.com/users/grigorisg9gr/gists{/gist_id}","starred_url":"https://api.github.com/users/grigorisg9gr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grigorisg9gr/subscriptions","organizations_url":"https://api.github.com/users/grigorisg9gr/orgs","repos_url":"https://api.github.com/users/grigorisg9gr/repos","events_url":"https://api.github.com/users/grigorisg9gr/events{/privacy}","received_events_url":"https://api.github.com/users/grigorisg9gr/received_events","type":"User","site_admin":false},"repo":{"id":26331231,"name":"menpofit","full_name":"grigorisg9gr/menpofit","owner":{"login":"grigorisg9gr","id":2621492,"avatar_url":"https://avatars.githubusercontent.com/u/2621492?v=3","gravatar_id":"","url":"https://api.github.com/users/grigorisg9gr","html_url":"https://github.com/grigorisg9gr","followers_url":"https://api.github.com/users/grigorisg9gr/followers","following_url":"https://api.github.com/users/grigorisg9gr/following{/other_user}","gists_url":"https://api.github.com/users/grigorisg9gr/gists{/gist_id}","starred_url":"https://api.github.com/users/grigorisg9gr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grigorisg9gr/subscriptions","organizations_url":"https://api.github.com/users/grigorisg9gr/orgs","repos_url":"https://api.github.com/users/grigorisg9gr/repos","events_url":"https://api.github.com/users/grigorisg9gr/events{/privacy}","received_events_url":"https://api.github.com/users/grigorisg9gr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/grigorisg9gr/menpofit","description":"Deformable modelling toolkit built on top of the Menpo project.","fork":true,"url":"https://api.github.com/repos/grigorisg9gr/menpofit","forks_url":"https://api.github.com/repos/grigorisg9gr/menpofit/forks","keys_url":"https://api.github.com/repos/grigorisg9gr/menpofit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grigorisg9gr/menpofit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grigorisg9gr/menpofit/teams","hooks_url":"https://api.github.com/repos/grigorisg9gr/menpofit/hooks","issue_events_url":"https://api.github.com/repos/grigorisg9gr/menpofit/issues/events{/number}","events_url":"https://api.github.com/repos/grigorisg9gr/menpofit/events","assignees_url":"https://api.github.com/repos/grigorisg9gr/menpofit/assignees{/user}","branches_url":"https://api.github.com/repos/grigorisg9gr/menpofit/branches{/branch}","tags_url":"https://api.github.com/repos/grigorisg9gr/menpofit/tags","blobs_url":"https://api.github.com/repos/grigorisg9gr/menpofit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grigorisg9gr/menpofit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grigorisg9gr/menpofit/git/refs{/sha}","trees_url":"https://api.github.com/repos/grigorisg9gr/menpofit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grigorisg9gr/menpofit/statuses/{sha}","languages_url":"https://api.github.com/repos/grigorisg9gr/menpofit/languages","stargazers_url":"https://api.github.com/repos/grigorisg9gr/menpofit/stargazers","contributors_url":"https://api.github.com/repos/grigorisg9gr/menpofit/contributors","subscribers_url":"https://api.github.com/repos/grigorisg9gr/menpofit/subscribers","subscription_url":"https://api.github.com/repos/grigorisg9gr/menpofit/subscription","commits_url":"https://api.github.com/repos/grigorisg9gr/menpofit/commits{/sha}","git_commits_url":"https://api.github.com/repos/grigorisg9gr/menpofit/git/commits{/sha}","comments_url":"https://api.github.com/repos/grigorisg9gr/menpofit/comments{/number}","issue_comment_url":"https://api.github.com/repos/grigorisg9gr/menpofit/issues/comments{/number}","contents_url":"https://api.github.com/repos/grigorisg9gr/menpofit/contents/{+path}","compare_url":"https://api.github.com/repos/grigorisg9gr/menpofit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grigorisg9gr/menpofit/merges","archive_url":"https://api.github.com/repos/grigorisg9gr/menpofit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grigorisg9gr/menpofit/downloads","issues_url":"https://api.github.com/repos/grigorisg9gr/menpofit/issues{/number}","pulls_url":"https://api.github.com/repos/grigorisg9gr/menpofit/pulls{/number}","milestones_url":"https://api.github.com/repos/grigorisg9gr/menpofit/milestones{/number}","notifications_url":"https://api.github.com/repos/grigorisg9gr/menpofit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grigorisg9gr/menpofit/labels{/name}","releases_url":"https://api.github.com/repos/grigorisg9gr/menpofit/releases{/id}","created_at":"2014-11-07T17:59:33Z","updated_at":"2015-05-12T11:42:39Z","pushed_at":"2015-11-24T14:30:15Z","git_url":"git://github.com/grigorisg9gr/menpofit.git","ssh_url":"git@github.com:grigorisg9gr/menpofit.git","clone_url":"https://github.com/grigorisg9gr/menpofit.git","svn_url":"https://github.com/grigorisg9gr/menpofit","homepage":"http://www.menpo.io","size":986,"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":"menpo:master","ref":"master","sha":"8d347ec1247a578f32aea93c2b4951a3322ef0e2","user":{"login":"menpo","id":4281647,"avatar_url":"https://avatars.githubusercontent.com/u/4281647?v=3","gravatar_id":"","url":"https://api.github.com/users/menpo","html_url":"https://github.com/menpo","followers_url":"https://api.github.com/users/menpo/followers","following_url":"https://api.github.com/users/menpo/following{/other_user}","gists_url":"https://api.github.com/users/menpo/gists{/gist_id}","starred_url":"https://api.github.com/users/menpo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/menpo/subscriptions","organizations_url":"https://api.github.com/users/menpo/orgs","repos_url":"https://api.github.com/users/menpo/repos","events_url":"https://api.github.com/users/menpo/events{/privacy}","received_events_url":"https://api.github.com/users/menpo/received_events","type":"Organization","site_admin":false},"repo":{"id":25838018,"name":"menpofit","full_name":"menpo/menpofit","owner":{"login":"menpo","id":4281647,"avatar_url":"https://avatars.githubusercontent.com/u/4281647?v=3","gravatar_id":"","url":"https://api.github.com/users/menpo","html_url":"https://github.com/menpo","followers_url":"https://api.github.com/users/menpo/followers","following_url":"https://api.github.com/users/menpo/following{/other_user}","gists_url":"https://api.github.com/users/menpo/gists{/gist_id}","starred_url":"https://api.github.com/users/menpo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/menpo/subscriptions","organizations_url":"https://api.github.com/users/menpo/orgs","repos_url":"https://api.github.com/users/menpo/repos","events_url":"https://api.github.com/users/menpo/events{/privacy}","received_events_url":"https://api.github.com/users/menpo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/menpo/menpofit","description":"Menpo's deformable modelling toolkit.","fork":false,"url":"https://api.github.com/repos/menpo/menpofit","forks_url":"https://api.github.com/repos/menpo/menpofit/forks","keys_url":"https://api.github.com/repos/menpo/menpofit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/menpo/menpofit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/menpo/menpofit/teams","hooks_url":"https://api.github.com/repos/menpo/menpofit/hooks","issue_events_url":"https://api.github.com/repos/menpo/menpofit/issues/events{/number}","events_url":"https://api.github.com/repos/menpo/menpofit/events","assignees_url":"https://api.github.com/repos/menpo/menpofit/assignees{/user}","branches_url":"https://api.github.com/repos/menpo/menpofit/branches{/branch}","tags_url":"https://api.github.com/repos/menpo/menpofit/tags","blobs_url":"https://api.github.com/repos/menpo/menpofit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/menpo/menpofit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/menpo/menpofit/git/refs{/sha}","trees_url":"https://api.github.com/repos/menpo/menpofit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/menpo/menpofit/statuses/{sha}","languages_url":"https://api.github.com/repos/menpo/menpofit/languages","stargazers_url":"https://api.github.com/repos/menpo/menpofit/stargazers","contributors_url":"https://api.github.com/repos/menpo/menpofit/contributors","subscribers_url":"https://api.github.com/repos/menpo/menpofit/subscribers","subscription_url":"https://api.github.com/repos/menpo/menpofit/subscription","commits_url":"https://api.github.com/repos/menpo/menpofit/commits{/sha}","git_commits_url":"https://api.github.com/repos/menpo/menpofit/git/commits{/sha}","comments_url":"https://api.github.com/repos/menpo/menpofit/comments{/number}","issue_comment_url":"https://api.github.com/repos/menpo/menpofit/issues/comments{/number}","contents_url":"https://api.github.com/repos/menpo/menpofit/contents/{+path}","compare_url":"https://api.github.com/repos/menpo/menpofit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/menpo/menpofit/merges","archive_url":"https://api.github.com/repos/menpo/menpofit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/menpo/menpofit/downloads","issues_url":"https://api.github.com/repos/menpo/menpofit/issues{/number}","pulls_url":"https://api.github.com/repos/menpo/menpofit/pulls{/number}","milestones_url":"https://api.github.com/repos/menpo/menpofit/milestones{/number}","notifications_url":"https://api.github.com/repos/menpo/menpofit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/menpo/menpofit/labels{/name}","releases_url":"https://api.github.com/repos/menpo/menpofit/releases{/id}","created_at":"2014-10-27T20:36:39Z","updated_at":"2015-11-22T12:21:29Z","pushed_at":"2015-11-09T13:05:33Z","git_url":"git://github.com/menpo/menpofit.git","ssh_url":"git@github.com:menpo/menpofit.git","clone_url":"https://github.com/menpo/menpofit.git","svn_url":"https://github.com/menpo/menpofit","homepage":"http://www.menpo.org","size":1715,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":19,"forks":18,"open_issues":19,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/menpo/menpofit/pulls/78"},"html":{"href":"https://github.com/menpo/menpofit/pull/78"},"issue":{"href":"https://api.github.com/repos/menpo/menpofit/issues/78"},"comments":{"href":"https://api.github.com/repos/menpo/menpofit/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/menpo/menpofit/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/menpo/menpofit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/menpo/menpofit/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/menpo/menpofit/statuses/07cee08a8809f12ef39cfd0fe1596750b9d3f39f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":2,"changed_files":1}}