{"action":"opened","number":3783,"pull_request":{"url":"https://api.github.com/repos/hail-is/hail/pulls/3783","id":195671737,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1NjcxNzM3","html_url":"https://github.com/hail-is/hail/pull/3783","diff_url":"https://github.com/hail-is/hail/pull/3783.diff","patch_url":"https://github.com/hail-is/hail/pull/3783.patch","issue_url":"https://api.github.com/repos/hail-is/hail/issues/3783","number":3783,"state":"open","locked":false,"title":"avoid copying data when not reading genotypes","user":{"login":"danking","id":106194,"node_id":"MDQ6VXNlcjEwNjE5NA==","avatar_url":"https://avatars2.githubusercontent.com/u/106194?v=4","gravatar_id":"","url":"https://api.github.com/users/danking","html_url":"https://github.com/danking","followers_url":"https://api.github.com/users/danking/followers","following_url":"https://api.github.com/users/danking/following{/other_user}","gists_url":"https://api.github.com/users/danking/gists{/gist_id}","starred_url":"https://api.github.com/users/danking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danking/subscriptions","organizations_url":"https://api.github.com/users/danking/orgs","repos_url":"https://api.github.com/users/danking/repos","events_url":"https://api.github.com/users/danking/events{/privacy}","received_events_url":"https://api.github.com/users/danking/received_events","type":"User","site_admin":false},"body":"@tpoterba you were in here recently for performance so your eyes are appreciated.\r\n\r\nI simplified things a bit and localized almost all the parsing logic to `BgenRecord`. The contract for `advance` is that it is always called when `bfis` is pointing at the start of a record _or_ at or past the `end`. Advance will return the position to the start of a record or at or past the `end`. It returns true if there was a new record found. False otherwise.\r\n\r\nI avoided a couple allocating patterns.\r\n\r\nThe rest of the diffs are copy pastes and some indentation changes.","created_at":"2018-06-18T23:03:19Z","updated_at":"2018-06-18T23:03:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"tpoterba","id":10562794,"node_id":"MDQ6VXNlcjEwNTYyNzk0","avatar_url":"https://avatars2.githubusercontent.com/u/10562794?v=4","gravatar_id":"","url":"https://api.github.com/users/tpoterba","html_url":"https://github.com/tpoterba","followers_url":"https://api.github.com/users/tpoterba/followers","following_url":"https://api.github.com/users/tpoterba/following{/other_user}","gists_url":"https://api.github.com/users/tpoterba/gists{/gist_id}","starred_url":"https://api.github.com/users/tpoterba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpoterba/subscriptions","organizations_url":"https://api.github.com/users/tpoterba/orgs","repos_url":"https://api.github.com/users/tpoterba/repos","events_url":"https://api.github.com/users/tpoterba/events{/privacy}","received_events_url":"https://api.github.com/users/tpoterba/received_events","type":"User","site_admin":false},"assignees":[{"login":"tpoterba","id":10562794,"node_id":"MDQ6VXNlcjEwNTYyNzk0","avatar_url":"https://avatars2.githubusercontent.com/u/10562794?v=4","gravatar_id":"","url":"https://api.github.com/users/tpoterba","html_url":"https://github.com/tpoterba","followers_url":"https://api.github.com/users/tpoterba/followers","following_url":"https://api.github.com/users/tpoterba/following{/other_user}","gists_url":"https://api.github.com/users/tpoterba/gists{/gist_id}","starred_url":"https://api.github.com/users/tpoterba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpoterba/subscriptions","organizations_url":"https://api.github.com/users/tpoterba/orgs","repos_url":"https://api.github.com/users/tpoterba/repos","events_url":"https://api.github.com/users/tpoterba/events{/privacy}","received_events_url":"https://api.github.com/users/tpoterba/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hail-is/hail/pulls/3783/commits","review_comments_url":"https://api.github.com/repos/hail-is/hail/pulls/3783/comments","review_comment_url":"https://api.github.com/repos/hail-is/hail/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hail-is/hail/issues/3783/comments","statuses_url":"https://api.github.com/repos/hail-is/hail/statuses/d498c2a0e1ded71e111d82a7b287be4570d08b6b","head":{"label":"danking:no-unnecessary-bgen-decoding","ref":"no-unnecessary-bgen-decoding","sha":"d498c2a0e1ded71e111d82a7b287be4570d08b6b","user":{"login":"danking","id":106194,"node_id":"MDQ6VXNlcjEwNjE5NA==","avatar_url":"https://avatars2.githubusercontent.com/u/106194?v=4","gravatar_id":"","url":"https://api.github.com/users/danking","html_url":"https://github.com/danking","followers_url":"https://api.github.com/users/danking/followers","following_url":"https://api.github.com/users/danking/following{/other_user}","gists_url":"https://api.github.com/users/danking/gists{/gist_id}","starred_url":"https://api.github.com/users/danking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danking/subscriptions","organizations_url":"https://api.github.com/users/danking/orgs","repos_url":"https://api.github.com/users/danking/repos","events_url":"https://api.github.com/users/danking/events{/privacy}","received_events_url":"https://api.github.com/users/danking/received_events","type":"User","site_admin":false},"repo":{"id":64700952,"node_id":"MDEwOlJlcG9zaXRvcnk2NDcwMDk1Mg==","name":"hail","full_name":"danking/hail","owner":{"login":"danking","id":106194,"node_id":"MDQ6VXNlcjEwNjE5NA==","avatar_url":"https://avatars2.githubusercontent.com/u/106194?v=4","gravatar_id":"","url":"https://api.github.com/users/danking","html_url":"https://github.com/danking","followers_url":"https://api.github.com/users/danking/followers","following_url":"https://api.github.com/users/danking/following{/other_user}","gists_url":"https://api.github.com/users/danking/gists{/gist_id}","starred_url":"https://api.github.com/users/danking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danking/subscriptions","organizations_url":"https://api.github.com/users/danking/orgs","repos_url":"https://api.github.com/users/danking/repos","events_url":"https://api.github.com/users/danking/events{/privacy}","received_events_url":"https://api.github.com/users/danking/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danking/hail","description":"Hail, a framework for scalable genetic data analysis","fork":true,"url":"https://api.github.com/repos/danking/hail","forks_url":"https://api.github.com/repos/danking/hail/forks","keys_url":"https://api.github.com/repos/danking/hail/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danking/hail/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danking/hail/teams","hooks_url":"https://api.github.com/repos/danking/hail/hooks","issue_events_url":"https://api.github.com/repos/danking/hail/issues/events{/number}","events_url":"https://api.github.com/repos/danking/hail/events","assignees_url":"https://api.github.com/repos/danking/hail/assignees{/user}","branches_url":"https://api.github.com/repos/danking/hail/branches{/branch}","tags_url":"https://api.github.com/repos/danking/hail/tags","blobs_url":"https://api.github.com/repos/danking/hail/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danking/hail/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danking/hail/git/refs{/sha}","trees_url":"https://api.github.com/repos/danking/hail/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danking/hail/statuses/{sha}","languages_url":"https://api.github.com/repos/danking/hail/languages","stargazers_url":"https://api.github.com/repos/danking/hail/stargazers","contributors_url":"https://api.github.com/repos/danking/hail/contributors","subscribers_url":"https://api.github.com/repos/danking/hail/subscribers","subscription_url":"https://api.github.com/repos/danking/hail/subscription","commits_url":"https://api.github.com/repos/danking/hail/commits{/sha}","git_commits_url":"https://api.github.com/repos/danking/hail/git/commits{/sha}","comments_url":"https://api.github.com/repos/danking/hail/comments{/number}","issue_comment_url":"https://api.github.com/repos/danking/hail/issues/comments{/number}","contents_url":"https://api.github.com/repos/danking/hail/contents/{+path}","compare_url":"https://api.github.com/repos/danking/hail/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danking/hail/merges","archive_url":"https://api.github.com/repos/danking/hail/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danking/hail/downloads","issues_url":"https://api.github.com/repos/danking/hail/issues{/number}","pulls_url":"https://api.github.com/repos/danking/hail/pulls{/number}","milestones_url":"https://api.github.com/repos/danking/hail/milestones{/number}","notifications_url":"https://api.github.com/repos/danking/hail/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danking/hail/labels{/name}","releases_url":"https://api.github.com/repos/danking/hail/releases{/id}","deployments_url":"https://api.github.com/repos/danking/hail/deployments","created_at":"2016-08-01T20:55:06Z","updated_at":"2018-03-19T18:21:08Z","pushed_at":"2018-06-18T22:51:39Z","git_url":"git://github.com/danking/hail.git","ssh_url":"git@github.com:danking/hail.git","clone_url":"https://github.com/danking/hail.git","svn_url":"https://github.com/danking/hail","homepage":"","size":41233,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hail-is:master","ref":"master","sha":"0998fdf0d5ebce9e5c9e18c74d8051a66ab216b9","user":{"login":"hail-is","id":20861792,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwODYxNzky","avatar_url":"https://avatars1.githubusercontent.com/u/20861792?v=4","gravatar_id":"","url":"https://api.github.com/users/hail-is","html_url":"https://github.com/hail-is","followers_url":"https://api.github.com/users/hail-is/followers","following_url":"https://api.github.com/users/hail-is/following{/other_user}","gists_url":"https://api.github.com/users/hail-is/gists{/gist_id}","starred_url":"https://api.github.com/users/hail-is/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hail-is/subscriptions","organizations_url":"https://api.github.com/users/hail-is/orgs","repos_url":"https://api.github.com/users/hail-is/repos","events_url":"https://api.github.com/users/hail-is/events{/privacy}","received_events_url":"https://api.github.com/users/hail-is/received_events","type":"Organization","site_admin":false},"repo":{"id":45069467,"node_id":"MDEwOlJlcG9zaXRvcnk0NTA2OTQ2Nw==","name":"hail","full_name":"hail-is/hail","owner":{"login":"hail-is","id":20861792,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwODYxNzky","avatar_url":"https://avatars1.githubusercontent.com/u/20861792?v=4","gravatar_id":"","url":"https://api.github.com/users/hail-is","html_url":"https://github.com/hail-is","followers_url":"https://api.github.com/users/hail-is/followers","following_url":"https://api.github.com/users/hail-is/following{/other_user}","gists_url":"https://api.github.com/users/hail-is/gists{/gist_id}","starred_url":"https://api.github.com/users/hail-is/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hail-is/subscriptions","organizations_url":"https://api.github.com/users/hail-is/orgs","repos_url":"https://api.github.com/users/hail-is/repos","events_url":"https://api.github.com/users/hail-is/events{/privacy}","received_events_url":"https://api.github.com/users/hail-is/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hail-is/hail","description":"Scalable genomic data analysis.","fork":false,"url":"https://api.github.com/repos/hail-is/hail","forks_url":"https://api.github.com/repos/hail-is/hail/forks","keys_url":"https://api.github.com/repos/hail-is/hail/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hail-is/hail/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hail-is/hail/teams","hooks_url":"https://api.github.com/repos/hail-is/hail/hooks","issue_events_url":"https://api.github.com/repos/hail-is/hail/issues/events{/number}","events_url":"https://api.github.com/repos/hail-is/hail/events","assignees_url":"https://api.github.com/repos/hail-is/hail/assignees{/user}","branches_url":"https://api.github.com/repos/hail-is/hail/branches{/branch}","tags_url":"https://api.github.com/repos/hail-is/hail/tags","blobs_url":"https://api.github.com/repos/hail-is/hail/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hail-is/hail/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hail-is/hail/git/refs{/sha}","trees_url":"https://api.github.com/repos/hail-is/hail/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hail-is/hail/statuses/{sha}","languages_url":"https://api.github.com/repos/hail-is/hail/languages","stargazers_url":"https://api.github.com/repos/hail-is/hail/stargazers","contributors_url":"https://api.github.com/repos/hail-is/hail/contributors","subscribers_url":"https://api.github.com/repos/hail-is/hail/subscribers","subscription_url":"https://api.github.com/repos/hail-is/hail/subscription","commits_url":"https://api.github.com/repos/hail-is/hail/commits{/sha}","git_commits_url":"https://api.github.com/repos/hail-is/hail/git/commits{/sha}","comments_url":"https://api.github.com/repos/hail-is/hail/comments{/number}","issue_comment_url":"https://api.github.com/repos/hail-is/hail/issues/comments{/number}","contents_url":"https://api.github.com/repos/hail-is/hail/contents/{+path}","compare_url":"https://api.github.com/repos/hail-is/hail/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hail-is/hail/merges","archive_url":"https://api.github.com/repos/hail-is/hail/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hail-is/hail/downloads","issues_url":"https://api.github.com/repos/hail-is/hail/issues{/number}","pulls_url":"https://api.github.com/repos/hail-is/hail/pulls{/number}","milestones_url":"https://api.github.com/repos/hail-is/hail/milestones{/number}","notifications_url":"https://api.github.com/repos/hail-is/hail/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hail-is/hail/labels{/name}","releases_url":"https://api.github.com/repos/hail-is/hail/releases{/id}","deployments_url":"https://api.github.com/repos/hail-is/hail/deployments","created_at":"2015-10-27T20:55:42Z","updated_at":"2018-06-18T22:18:02Z","pushed_at":"2018-06-18T22:17:56Z","git_url":"git://github.com/hail-is/hail.git","ssh_url":"git@github.com:hail-is/hail.git","clone_url":"https://github.com/hail-is/hail.git","svn_url":"https://github.com/hail-is/hail","homepage":"https://hail.is","size":37165,"stargazers_count":335,"watchers_count":335,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":100,"mirror_url":null,"archived":false,"open_issues_count":165,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":100,"open_issues":165,"watchers":335,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hail-is/hail/pulls/3783"},"html":{"href":"https://github.com/hail-is/hail/pull/3783"},"issue":{"href":"https://api.github.com/repos/hail-is/hail/issues/3783"},"comments":{"href":"https://api.github.com/repos/hail-is/hail/issues/3783/comments"},"review_comments":{"href":"https://api.github.com/repos/hail-is/hail/pulls/3783/comments"},"review_comment":{"href":"https://api.github.com/repos/hail-is/hail/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hail-is/hail/pulls/3783/commits"},"statuses":{"href":"https://api.github.com/repos/hail-is/hail/statuses/d498c2a0e1ded71e111d82a7b287be4570d08b6b"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":178,"deletions":173,"changed_files":3}}
{"actor":{"display_login":"danking"}}