{"action":"opened","number":23,"pull_request":{"url":"https://api.github.com/repos/contain-rs/bit-vec/pulls/23","id":44080896,"html_url":"https://github.com/contain-rs/bit-vec/pull/23","diff_url":"https://github.com/contain-rs/bit-vec/pull/23.diff","patch_url":"https://github.com/contain-rs/bit-vec/pull/23.patch","issue_url":"https://api.github.com/repos/contain-rs/bit-vec/issues/23","number":23,"state":"open","locked":false,"title":"Inline BitBlock fns","user":{"login":"cuviper","id":36186,"avatar_url":"https://avatars.githubusercontent.com/u/36186?v=3","gravatar_id":"","url":"https://api.github.com/users/cuviper","html_url":"https://github.com/cuviper","followers_url":"https://api.github.com/users/cuviper/followers","following_url":"https://api.github.com/users/cuviper/following{/other_user}","gists_url":"https://api.github.com/users/cuviper/gists{/gist_id}","starred_url":"https://api.github.com/users/cuviper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuviper/subscriptions","organizations_url":"https://api.github.com/users/cuviper/orgs","repos_url":"https://api.github.com/users/cuviper/repos","events_url":"https://api.github.com/users/cuviper/events{/privacy}","received_events_url":"https://api.github.com/users/cuviper/received_events","type":"User","site_admin":false},"body":"The BitBlock fns can be mostly optimized away, but only if they're inlined.\r\nRunning the benchmarks from an extern crate shows the difference.\r\nAdding explicit `#[inline]` attributes lets them inline across crate boundaries too.","created_at":"2015-09-03T08:31:46Z","updated_at":"2015-09-03T08:31:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/contain-rs/bit-vec/pulls/23/commits","review_comments_url":"https://api.github.com/repos/contain-rs/bit-vec/pulls/23/comments","review_comment_url":"https://api.github.com/repos/contain-rs/bit-vec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/contain-rs/bit-vec/issues/23/comments","statuses_url":"https://api.github.com/repos/contain-rs/bit-vec/statuses/265575f7a6d766286d12cf202ecd6103b3e3b2f3","head":{"label":"cuviper:inline-bitblock","ref":"inline-bitblock","sha":"265575f7a6d766286d12cf202ecd6103b3e3b2f3","user":{"login":"cuviper","id":36186,"avatar_url":"https://avatars.githubusercontent.com/u/36186?v=3","gravatar_id":"","url":"https://api.github.com/users/cuviper","html_url":"https://github.com/cuviper","followers_url":"https://api.github.com/users/cuviper/followers","following_url":"https://api.github.com/users/cuviper/following{/other_user}","gists_url":"https://api.github.com/users/cuviper/gists{/gist_id}","starred_url":"https://api.github.com/users/cuviper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuviper/subscriptions","organizations_url":"https://api.github.com/users/cuviper/orgs","repos_url":"https://api.github.com/users/cuviper/repos","events_url":"https://api.github.com/users/cuviper/events{/privacy}","received_events_url":"https://api.github.com/users/cuviper/received_events","type":"User","site_admin":false},"repo":{"id":41849224,"name":"bit-vec","full_name":"cuviper/bit-vec","owner":{"login":"cuviper","id":36186,"avatar_url":"https://avatars.githubusercontent.com/u/36186?v=3","gravatar_id":"","url":"https://api.github.com/users/cuviper","html_url":"https://github.com/cuviper","followers_url":"https://api.github.com/users/cuviper/followers","following_url":"https://api.github.com/users/cuviper/following{/other_user}","gists_url":"https://api.github.com/users/cuviper/gists{/gist_id}","starred_url":"https://api.github.com/users/cuviper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuviper/subscriptions","organizations_url":"https://api.github.com/users/cuviper/orgs","repos_url":"https://api.github.com/users/cuviper/repos","events_url":"https://api.github.com/users/cuviper/events{/privacy}","received_events_url":"https://api.github.com/users/cuviper/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cuviper/bit-vec","description":"A Vec of Bits","fork":true,"url":"https://api.github.com/repos/cuviper/bit-vec","forks_url":"https://api.github.com/repos/cuviper/bit-vec/forks","keys_url":"https://api.github.com/repos/cuviper/bit-vec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cuviper/bit-vec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cuviper/bit-vec/teams","hooks_url":"https://api.github.com/repos/cuviper/bit-vec/hooks","issue_events_url":"https://api.github.com/repos/cuviper/bit-vec/issues/events{/number}","events_url":"https://api.github.com/repos/cuviper/bit-vec/events","assignees_url":"https://api.github.com/repos/cuviper/bit-vec/assignees{/user}","branches_url":"https://api.github.com/repos/cuviper/bit-vec/branches{/branch}","tags_url":"https://api.github.com/repos/cuviper/bit-vec/tags","blobs_url":"https://api.github.com/repos/cuviper/bit-vec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cuviper/bit-vec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cuviper/bit-vec/git/refs{/sha}","trees_url":"https://api.github.com/repos/cuviper/bit-vec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cuviper/bit-vec/statuses/{sha}","languages_url":"https://api.github.com/repos/cuviper/bit-vec/languages","stargazers_url":"https://api.github.com/repos/cuviper/bit-vec/stargazers","contributors_url":"https://api.github.com/repos/cuviper/bit-vec/contributors","subscribers_url":"https://api.github.com/repos/cuviper/bit-vec/subscribers","subscription_url":"https://api.github.com/repos/cuviper/bit-vec/subscription","commits_url":"https://api.github.com/repos/cuviper/bit-vec/commits{/sha}","git_commits_url":"https://api.github.com/repos/cuviper/bit-vec/git/commits{/sha}","comments_url":"https://api.github.com/repos/cuviper/bit-vec/comments{/number}","issue_comment_url":"https://api.github.com/repos/cuviper/bit-vec/issues/comments{/number}","contents_url":"https://api.github.com/repos/cuviper/bit-vec/contents/{+path}","compare_url":"https://api.github.com/repos/cuviper/bit-vec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cuviper/bit-vec/merges","archive_url":"https://api.github.com/repos/cuviper/bit-vec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cuviper/bit-vec/downloads","issues_url":"https://api.github.com/repos/cuviper/bit-vec/issues{/number}","pulls_url":"https://api.github.com/repos/cuviper/bit-vec/pulls{/number}","milestones_url":"https://api.github.com/repos/cuviper/bit-vec/milestones{/number}","notifications_url":"https://api.github.com/repos/cuviper/bit-vec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cuviper/bit-vec/labels{/name}","releases_url":"https://api.github.com/repos/cuviper/bit-vec/releases{/id}","created_at":"2015-09-03T08:25:13Z","updated_at":"2015-09-03T08:25:14Z","pushed_at":"2015-09-03T08:27:31Z","git_url":"git://github.com/cuviper/bit-vec.git","ssh_url":"git@github.com:cuviper/bit-vec.git","clone_url":"https://github.com/cuviper/bit-vec.git","svn_url":"https://github.com/cuviper/bit-vec","homepage":null,"size":1006,"stargazers_count":0,"watchers_count":0,"language":"Rust","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":"contain-rs:master","ref":"master","sha":"4636396e2875d14722884e6488fd09866d23d791","user":{"login":"contain-rs","id":11350583,"avatar_url":"https://avatars.githubusercontent.com/u/11350583?v=3","gravatar_id":"","url":"https://api.github.com/users/contain-rs","html_url":"https://github.com/contain-rs","followers_url":"https://api.github.com/users/contain-rs/followers","following_url":"https://api.github.com/users/contain-rs/following{/other_user}","gists_url":"https://api.github.com/users/contain-rs/gists{/gist_id}","starred_url":"https://api.github.com/users/contain-rs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contain-rs/subscriptions","organizations_url":"https://api.github.com/users/contain-rs/orgs","repos_url":"https://api.github.com/users/contain-rs/repos","events_url":"https://api.github.com/users/contain-rs/events{/privacy}","received_events_url":"https://api.github.com/users/contain-rs/received_events","type":"Organization","site_admin":false},"repo":{"id":36771410,"name":"bit-vec","full_name":"contain-rs/bit-vec","owner":{"login":"contain-rs","id":11350583,"avatar_url":"https://avatars.githubusercontent.com/u/11350583?v=3","gravatar_id":"","url":"https://api.github.com/users/contain-rs","html_url":"https://github.com/contain-rs","followers_url":"https://api.github.com/users/contain-rs/followers","following_url":"https://api.github.com/users/contain-rs/following{/other_user}","gists_url":"https://api.github.com/users/contain-rs/gists{/gist_id}","starred_url":"https://api.github.com/users/contain-rs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contain-rs/subscriptions","organizations_url":"https://api.github.com/users/contain-rs/orgs","repos_url":"https://api.github.com/users/contain-rs/repos","events_url":"https://api.github.com/users/contain-rs/events{/privacy}","received_events_url":"https://api.github.com/users/contain-rs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/contain-rs/bit-vec","description":"A Vec of Bits","fork":false,"url":"https://api.github.com/repos/contain-rs/bit-vec","forks_url":"https://api.github.com/repos/contain-rs/bit-vec/forks","keys_url":"https://api.github.com/repos/contain-rs/bit-vec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/contain-rs/bit-vec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/contain-rs/bit-vec/teams","hooks_url":"https://api.github.com/repos/contain-rs/bit-vec/hooks","issue_events_url":"https://api.github.com/repos/contain-rs/bit-vec/issues/events{/number}","events_url":"https://api.github.com/repos/contain-rs/bit-vec/events","assignees_url":"https://api.github.com/repos/contain-rs/bit-vec/assignees{/user}","branches_url":"https://api.github.com/repos/contain-rs/bit-vec/branches{/branch}","tags_url":"https://api.github.com/repos/contain-rs/bit-vec/tags","blobs_url":"https://api.github.com/repos/contain-rs/bit-vec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/contain-rs/bit-vec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/contain-rs/bit-vec/git/refs{/sha}","trees_url":"https://api.github.com/repos/contain-rs/bit-vec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/contain-rs/bit-vec/statuses/{sha}","languages_url":"https://api.github.com/repos/contain-rs/bit-vec/languages","stargazers_url":"https://api.github.com/repos/contain-rs/bit-vec/stargazers","contributors_url":"https://api.github.com/repos/contain-rs/bit-vec/contributors","subscribers_url":"https://api.github.com/repos/contain-rs/bit-vec/subscribers","subscription_url":"https://api.github.com/repos/contain-rs/bit-vec/subscription","commits_url":"https://api.github.com/repos/contain-rs/bit-vec/commits{/sha}","git_commits_url":"https://api.github.com/repos/contain-rs/bit-vec/git/commits{/sha}","comments_url":"https://api.github.com/repos/contain-rs/bit-vec/comments{/number}","issue_comment_url":"https://api.github.com/repos/contain-rs/bit-vec/issues/comments{/number}","contents_url":"https://api.github.com/repos/contain-rs/bit-vec/contents/{+path}","compare_url":"https://api.github.com/repos/contain-rs/bit-vec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/contain-rs/bit-vec/merges","archive_url":"https://api.github.com/repos/contain-rs/bit-vec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/contain-rs/bit-vec/downloads","issues_url":"https://api.github.com/repos/contain-rs/bit-vec/issues{/number}","pulls_url":"https://api.github.com/repos/contain-rs/bit-vec/pulls{/number}","milestones_url":"https://api.github.com/repos/contain-rs/bit-vec/milestones{/number}","notifications_url":"https://api.github.com/repos/contain-rs/bit-vec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/contain-rs/bit-vec/labels{/name}","releases_url":"https://api.github.com/repos/contain-rs/bit-vec/releases{/id}","created_at":"2015-06-03T01:09:06Z","updated_at":"2015-08-23T12:53:29Z","pushed_at":"2015-09-02T13:55:06Z","git_url":"git://github.com/contain-rs/bit-vec.git","ssh_url":"git@github.com:contain-rs/bit-vec.git","clone_url":"https://github.com/contain-rs/bit-vec.git","svn_url":"https://github.com/contain-rs/bit-vec","homepage":null,"size":1006,"stargazers_count":3,"watchers_count":3,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":10,"forks":5,"open_issues":10,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/contain-rs/bit-vec/pulls/23"},"html":{"href":"https://github.com/contain-rs/bit-vec/pull/23"},"issue":{"href":"https://api.github.com/repos/contain-rs/bit-vec/issues/23"},"comments":{"href":"https://api.github.com/repos/contain-rs/bit-vec/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/contain-rs/bit-vec/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/contain-rs/bit-vec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/contain-rs/bit-vec/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/contain-rs/bit-vec/statuses/265575f7a6d766286d12cf202ecd6103b3e3b2f3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":145,"deletions":109,"changed_files":3}}