{"action":"opened","number":5537,"pull_request":{"url":"https://api.github.com/repos/scala/scala/pulls/5537","id":94189995,"html_url":"https://github.com/scala/scala/pull/5537","diff_url":"https://github.com/scala/scala/pull/5537.diff","patch_url":"https://github.com/scala/scala/pull/5537.patch","issue_url":"https://api.github.com/repos/scala/scala/issues/5537","number":5537,"state":"open","locked":false,"title":"Changed HashTable.index to DeBruijn's integer log2 calculation (~30% faster)","user":{"login":"paplorinc","id":1841944,"avatar_url":"https://avatars.githubusercontent.com/u/1841944?v=3","gravatar_id":"","url":"https://api.github.com/users/paplorinc","html_url":"https://github.com/paplorinc","followers_url":"https://api.github.com/users/paplorinc/followers","following_url":"https://api.github.com/users/paplorinc/following{/other_user}","gists_url":"https://api.github.com/users/paplorinc/gists{/gist_id}","starred_url":"https://api.github.com/users/paplorinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paplorinc/subscriptions","organizations_url":"https://api.github.com/users/paplorinc/orgs","repos_url":"https://api.github.com/users/paplorinc/repos","events_url":"https://api.github.com/users/paplorinc/events{/privacy}","received_events_url":"https://api.github.com/users/paplorinc/received_events","type":"User","site_admin":false},"body":"Added `BitManipulationBenchmark` to measure alternative solutions (`ns/op`, smaller is better):\r\n    Benchmark                                      Mode  Cnt    Score    Error  Units\r\n    BitManipulationBenchmark.log2DeBruijn          avgt   20  256.631 ±  1.328  ns/op\r\n    BitManipulationBenchmark.withCeilBinLog        avgt   20  301.614 ±  2.900  ns/op\r\n    BitManipulationBenchmark.numberOfLeadingZeros  avgt   20  303.115 ±  3.018  ns/op\r\n    BitManipulationBenchmark.bitCount              avgt   20  326.951 ±  1.726  ns/op\r\n    BitManipulationBenchmark.withBinSearch         avgt   20  339.631 ±  8.433  ns/op\r\n    BitManipulationBenchmark.log2                  avgt   20  407.742 ±  3.445  ns/op\r\n    BitManipulationBenchmark.withLoop              avgt   20  623.005 ±  7.133  ns/op","created_at":"2016-11-17T15:34:06Z","updated_at":"2016-11-17T15:34:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/scala/scala/pulls/5537/commits","review_comments_url":"https://api.github.com/repos/scala/scala/pulls/5537/comments","review_comment_url":"https://api.github.com/repos/scala/scala/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scala/scala/issues/5537/comments","statuses_url":"https://api.github.com/repos/scala/scala/statuses/cdfa0b936da4701b43c9d0797c140069f8e47016","head":{"label":"paplorinc:hashTableIndex","ref":"hashTableIndex","sha":"cdfa0b936da4701b43c9d0797c140069f8e47016","user":{"login":"paplorinc","id":1841944,"avatar_url":"https://avatars.githubusercontent.com/u/1841944?v=3","gravatar_id":"","url":"https://api.github.com/users/paplorinc","html_url":"https://github.com/paplorinc","followers_url":"https://api.github.com/users/paplorinc/followers","following_url":"https://api.github.com/users/paplorinc/following{/other_user}","gists_url":"https://api.github.com/users/paplorinc/gists{/gist_id}","starred_url":"https://api.github.com/users/paplorinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paplorinc/subscriptions","organizations_url":"https://api.github.com/users/paplorinc/orgs","repos_url":"https://api.github.com/users/paplorinc/repos","events_url":"https://api.github.com/users/paplorinc/events{/privacy}","received_events_url":"https://api.github.com/users/paplorinc/received_events","type":"User","site_admin":false},"repo":{"id":44775994,"name":"scala","full_name":"paplorinc/scala","owner":{"login":"paplorinc","id":1841944,"avatar_url":"https://avatars.githubusercontent.com/u/1841944?v=3","gravatar_id":"","url":"https://api.github.com/users/paplorinc","html_url":"https://github.com/paplorinc","followers_url":"https://api.github.com/users/paplorinc/followers","following_url":"https://api.github.com/users/paplorinc/following{/other_user}","gists_url":"https://api.github.com/users/paplorinc/gists{/gist_id}","starred_url":"https://api.github.com/users/paplorinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paplorinc/subscriptions","organizations_url":"https://api.github.com/users/paplorinc/orgs","repos_url":"https://api.github.com/users/paplorinc/repos","events_url":"https://api.github.com/users/paplorinc/events{/privacy}","received_events_url":"https://api.github.com/users/paplorinc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paplorinc/scala","description":"The Scala programming language","fork":true,"url":"https://api.github.com/repos/paplorinc/scala","forks_url":"https://api.github.com/repos/paplorinc/scala/forks","keys_url":"https://api.github.com/repos/paplorinc/scala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paplorinc/scala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paplorinc/scala/teams","hooks_url":"https://api.github.com/repos/paplorinc/scala/hooks","issue_events_url":"https://api.github.com/repos/paplorinc/scala/issues/events{/number}","events_url":"https://api.github.com/repos/paplorinc/scala/events","assignees_url":"https://api.github.com/repos/paplorinc/scala/assignees{/user}","branches_url":"https://api.github.com/repos/paplorinc/scala/branches{/branch}","tags_url":"https://api.github.com/repos/paplorinc/scala/tags","blobs_url":"https://api.github.com/repos/paplorinc/scala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paplorinc/scala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paplorinc/scala/git/refs{/sha}","trees_url":"https://api.github.com/repos/paplorinc/scala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paplorinc/scala/statuses/{sha}","languages_url":"https://api.github.com/repos/paplorinc/scala/languages","stargazers_url":"https://api.github.com/repos/paplorinc/scala/stargazers","contributors_url":"https://api.github.com/repos/paplorinc/scala/contributors","subscribers_url":"https://api.github.com/repos/paplorinc/scala/subscribers","subscription_url":"https://api.github.com/repos/paplorinc/scala/subscription","commits_url":"https://api.github.com/repos/paplorinc/scala/commits{/sha}","git_commits_url":"https://api.github.com/repos/paplorinc/scala/git/commits{/sha}","comments_url":"https://api.github.com/repos/paplorinc/scala/comments{/number}","issue_comment_url":"https://api.github.com/repos/paplorinc/scala/issues/comments{/number}","contents_url":"https://api.github.com/repos/paplorinc/scala/contents/{+path}","compare_url":"https://api.github.com/repos/paplorinc/scala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paplorinc/scala/merges","archive_url":"https://api.github.com/repos/paplorinc/scala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paplorinc/scala/downloads","issues_url":"https://api.github.com/repos/paplorinc/scala/issues{/number}","pulls_url":"https://api.github.com/repos/paplorinc/scala/pulls{/number}","milestones_url":"https://api.github.com/repos/paplorinc/scala/milestones{/number}","notifications_url":"https://api.github.com/repos/paplorinc/scala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paplorinc/scala/labels{/name}","releases_url":"https://api.github.com/repos/paplorinc/scala/releases{/id}","deployments_url":"https://api.github.com/repos/paplorinc/scala/deployments","created_at":"2015-10-22T22:07:12Z","updated_at":"2015-10-22T22:08:03Z","pushed_at":"2016-11-17T15:30:18Z","git_url":"git://github.com/paplorinc/scala.git","ssh_url":"git@github.com:paplorinc/scala.git","clone_url":"https://github.com/paplorinc/scala.git","svn_url":"https://github.com/paplorinc/scala","homepage":"http://www.scala-lang.org/","size":80353,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"2.11.x"}},"base":{"label":"scala:2.12.x","ref":"2.12.x","sha":"73678d4dafe250f0b38df2e953787af26b1a4ee3","user":{"login":"scala","id":57059,"avatar_url":"https://avatars.githubusercontent.com/u/57059?v=3","gravatar_id":"","url":"https://api.github.com/users/scala","html_url":"https://github.com/scala","followers_url":"https://api.github.com/users/scala/followers","following_url":"https://api.github.com/users/scala/following{/other_user}","gists_url":"https://api.github.com/users/scala/gists{/gist_id}","starred_url":"https://api.github.com/users/scala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala/subscriptions","organizations_url":"https://api.github.com/users/scala/orgs","repos_url":"https://api.github.com/users/scala/repos","events_url":"https://api.github.com/users/scala/events{/privacy}","received_events_url":"https://api.github.com/users/scala/received_events","type":"Organization","site_admin":false},"repo":{"id":2888818,"name":"scala","full_name":"scala/scala","owner":{"login":"scala","id":57059,"avatar_url":"https://avatars.githubusercontent.com/u/57059?v=3","gravatar_id":"","url":"https://api.github.com/users/scala","html_url":"https://github.com/scala","followers_url":"https://api.github.com/users/scala/followers","following_url":"https://api.github.com/users/scala/following{/other_user}","gists_url":"https://api.github.com/users/scala/gists{/gist_id}","starred_url":"https://api.github.com/users/scala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala/subscriptions","organizations_url":"https://api.github.com/users/scala/orgs","repos_url":"https://api.github.com/users/scala/repos","events_url":"https://api.github.com/users/scala/events{/privacy}","received_events_url":"https://api.github.com/users/scala/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scala/scala","description":"The Scala programming language","fork":false,"url":"https://api.github.com/repos/scala/scala","forks_url":"https://api.github.com/repos/scala/scala/forks","keys_url":"https://api.github.com/repos/scala/scala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scala/scala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scala/scala/teams","hooks_url":"https://api.github.com/repos/scala/scala/hooks","issue_events_url":"https://api.github.com/repos/scala/scala/issues/events{/number}","events_url":"https://api.github.com/repos/scala/scala/events","assignees_url":"https://api.github.com/repos/scala/scala/assignees{/user}","branches_url":"https://api.github.com/repos/scala/scala/branches{/branch}","tags_url":"https://api.github.com/repos/scala/scala/tags","blobs_url":"https://api.github.com/repos/scala/scala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scala/scala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scala/scala/git/refs{/sha}","trees_url":"https://api.github.com/repos/scala/scala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scala/scala/statuses/{sha}","languages_url":"https://api.github.com/repos/scala/scala/languages","stargazers_url":"https://api.github.com/repos/scala/scala/stargazers","contributors_url":"https://api.github.com/repos/scala/scala/contributors","subscribers_url":"https://api.github.com/repos/scala/scala/subscribers","subscription_url":"https://api.github.com/repos/scala/scala/subscription","commits_url":"https://api.github.com/repos/scala/scala/commits{/sha}","git_commits_url":"https://api.github.com/repos/scala/scala/git/commits{/sha}","comments_url":"https://api.github.com/repos/scala/scala/comments{/number}","issue_comment_url":"https://api.github.com/repos/scala/scala/issues/comments{/number}","contents_url":"https://api.github.com/repos/scala/scala/contents/{+path}","compare_url":"https://api.github.com/repos/scala/scala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scala/scala/merges","archive_url":"https://api.github.com/repos/scala/scala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scala/scala/downloads","issues_url":"https://api.github.com/repos/scala/scala/issues{/number}","pulls_url":"https://api.github.com/repos/scala/scala/pulls{/number}","milestones_url":"https://api.github.com/repos/scala/scala/milestones{/number}","notifications_url":"https://api.github.com/repos/scala/scala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scala/scala/labels{/name}","releases_url":"https://api.github.com/repos/scala/scala/releases{/id}","deployments_url":"https://api.github.com/repos/scala/scala/deployments","created_at":"2011-12-01T05:02:34Z","updated_at":"2016-11-17T12:00:17Z","pushed_at":"2016-11-17T15:34:06Z","git_url":"git://github.com/scala/scala.git","ssh_url":"git@github.com:scala/scala.git","clone_url":"https://github.com/scala/scala.git","svn_url":"https://github.com/scala/scala","homepage":"http://www.scala-lang.org/","size":139175,"stargazers_count":7181,"watchers_count":7181,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1815,"mirror_url":null,"open_issues_count":57,"forks":1815,"open_issues":57,"watchers":7181,"default_branch":"2.12.x"}},"_links":{"self":{"href":"https://api.github.com/repos/scala/scala/pulls/5537"},"html":{"href":"https://github.com/scala/scala/pull/5537"},"issue":{"href":"https://api.github.com/repos/scala/scala/issues/5537"},"comments":{"href":"https://api.github.com/repos/scala/scala/issues/5537/comments"},"review_comments":{"href":"https://api.github.com/repos/scala/scala/pulls/5537/comments"},"review_comment":{"href":"https://api.github.com/repos/scala/scala/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scala/scala/pulls/5537/commits"},"statuses":{"href":"https://api.github.com/repos/scala/scala/statuses/cdfa0b936da4701b43c9d0797c140069f8e47016"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":178,"deletions":7,"changed_files":4}}
{"actor":{"display_login":"paplorinc"}}