{"action":"opened","number":32,"pull_request":{"url":"https://api.github.com/repos/tgruben/roaring/pulls/32","id":38203032,"html_url":"https://github.com/tgruben/roaring/pull/32","diff_url":"https://github.com/tgruben/roaring/pull/32.diff","patch_url":"https://github.com/tgruben/roaring/pull/32.patch","issue_url":"https://api.github.com/repos/tgruben/roaring/issues/32","number":32,"state":"open","locked":false,"title":"Remove element type and use two parallel arrays for key/container","user":{"login":"bpot","id":8415,"avatar_url":"https://avatars.githubusercontent.com/u/8415?v=3","gravatar_id":"","url":"https://api.github.com/users/bpot","html_url":"https://github.com/bpot","followers_url":"https://api.github.com/users/bpot/followers","following_url":"https://api.github.com/users/bpot/following{/other_user}","gists_url":"https://api.github.com/users/bpot/gists{/gist_id}","starred_url":"https://api.github.com/users/bpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpot/subscriptions","organizations_url":"https://api.github.com/users/bpot/orgs","repos_url":"https://api.github.com/users/bpot/repos","events_url":"https://api.github.com/users/bpot/events{/privacy}","received_events_url":"https://api.github.com/users/bpot/received_events","type":"User","site_admin":false},"body":"As described in #31 \r\n\r\nFor a [program](https://gist.github.com/bpot/49455d04f24da7e80582) which sets a single bit for each high-level key it reduces space usage by about 15% and object count by 40%.\r\n\r\nBenchmarks appear unchanged.\r\n\r\n### Master\r\n\r\n```\r\nHeapInUse 6072410112\r\nHeapObjects 163851038\r\n```\r\n\r\n### Without element\r\n\r\n```\r\nHeapInUse 5198454784\r\nHeapObjects 98319536\r\n```","created_at":"2015-06-22T06:24:25Z","updated_at":"2015-06-22T06:24:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tgruben/roaring/pulls/32/commits","review_comments_url":"https://api.github.com/repos/tgruben/roaring/pulls/32/comments","review_comment_url":"https://api.github.com/repos/tgruben/roaring/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tgruben/roaring/issues/32/comments","statuses_url":"https://api.github.com/repos/tgruben/roaring/statuses/b072ef2c8737567976dd931fd44e19b7677e52af","head":{"label":"bpot:bp/remove_element","ref":"bp/remove_element","sha":"b072ef2c8737567976dd931fd44e19b7677e52af","user":{"login":"bpot","id":8415,"avatar_url":"https://avatars.githubusercontent.com/u/8415?v=3","gravatar_id":"","url":"https://api.github.com/users/bpot","html_url":"https://github.com/bpot","followers_url":"https://api.github.com/users/bpot/followers","following_url":"https://api.github.com/users/bpot/following{/other_user}","gists_url":"https://api.github.com/users/bpot/gists{/gist_id}","starred_url":"https://api.github.com/users/bpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpot/subscriptions","organizations_url":"https://api.github.com/users/bpot/orgs","repos_url":"https://api.github.com/users/bpot/repos","events_url":"https://api.github.com/users/bpot/events{/privacy}","received_events_url":"https://api.github.com/users/bpot/received_events","type":"User","site_admin":false},"repo":{"id":37837911,"name":"roaring","full_name":"bpot/roaring","owner":{"login":"bpot","id":8415,"avatar_url":"https://avatars.githubusercontent.com/u/8415?v=3","gravatar_id":"","url":"https://api.github.com/users/bpot","html_url":"https://github.com/bpot","followers_url":"https://api.github.com/users/bpot/followers","following_url":"https://api.github.com/users/bpot/following{/other_user}","gists_url":"https://api.github.com/users/bpot/gists{/gist_id}","starred_url":"https://api.github.com/users/bpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpot/subscriptions","organizations_url":"https://api.github.com/users/bpot/orgs","repos_url":"https://api.github.com/users/bpot/repos","events_url":"https://api.github.com/users/bpot/events{/privacy}","received_events_url":"https://api.github.com/users/bpot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bpot/roaring","description":"","fork":true,"url":"https://api.github.com/repos/bpot/roaring","forks_url":"https://api.github.com/repos/bpot/roaring/forks","keys_url":"https://api.github.com/repos/bpot/roaring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bpot/roaring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bpot/roaring/teams","hooks_url":"https://api.github.com/repos/bpot/roaring/hooks","issue_events_url":"https://api.github.com/repos/bpot/roaring/issues/events{/number}","events_url":"https://api.github.com/repos/bpot/roaring/events","assignees_url":"https://api.github.com/repos/bpot/roaring/assignees{/user}","branches_url":"https://api.github.com/repos/bpot/roaring/branches{/branch}","tags_url":"https://api.github.com/repos/bpot/roaring/tags","blobs_url":"https://api.github.com/repos/bpot/roaring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bpot/roaring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bpot/roaring/git/refs{/sha}","trees_url":"https://api.github.com/repos/bpot/roaring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bpot/roaring/statuses/{sha}","languages_url":"https://api.github.com/repos/bpot/roaring/languages","stargazers_url":"https://api.github.com/repos/bpot/roaring/stargazers","contributors_url":"https://api.github.com/repos/bpot/roaring/contributors","subscribers_url":"https://api.github.com/repos/bpot/roaring/subscribers","subscription_url":"https://api.github.com/repos/bpot/roaring/subscription","commits_url":"https://api.github.com/repos/bpot/roaring/commits{/sha}","git_commits_url":"https://api.github.com/repos/bpot/roaring/git/commits{/sha}","comments_url":"https://api.github.com/repos/bpot/roaring/comments{/number}","issue_comment_url":"https://api.github.com/repos/bpot/roaring/issues/comments{/number}","contents_url":"https://api.github.com/repos/bpot/roaring/contents/{+path}","compare_url":"https://api.github.com/repos/bpot/roaring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bpot/roaring/merges","archive_url":"https://api.github.com/repos/bpot/roaring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bpot/roaring/downloads","issues_url":"https://api.github.com/repos/bpot/roaring/issues{/number}","pulls_url":"https://api.github.com/repos/bpot/roaring/pulls{/number}","milestones_url":"https://api.github.com/repos/bpot/roaring/milestones{/number}","notifications_url":"https://api.github.com/repos/bpot/roaring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bpot/roaring/labels{/name}","releases_url":"https://api.github.com/repos/bpot/roaring/releases{/id}","created_at":"2015-06-22T04:50:53Z","updated_at":"2015-06-22T04:50:54Z","pushed_at":"2015-06-22T04:51:53Z","git_url":"git://github.com/bpot/roaring.git","ssh_url":"git@github.com:bpot/roaring.git","clone_url":"https://github.com/bpot/roaring.git","svn_url":"https://github.com/bpot/roaring","homepage":null,"size":293,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"tgruben:master","ref":"master","sha":"729e59a7fd7a0595fefcb69f9efbdd623af6d446","user":{"login":"tgruben","id":889059,"avatar_url":"https://avatars.githubusercontent.com/u/889059?v=3","gravatar_id":"","url":"https://api.github.com/users/tgruben","html_url":"https://github.com/tgruben","followers_url":"https://api.github.com/users/tgruben/followers","following_url":"https://api.github.com/users/tgruben/following{/other_user}","gists_url":"https://api.github.com/users/tgruben/gists{/gist_id}","starred_url":"https://api.github.com/users/tgruben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgruben/subscriptions","organizations_url":"https://api.github.com/users/tgruben/orgs","repos_url":"https://api.github.com/users/tgruben/repos","events_url":"https://api.github.com/users/tgruben/events{/privacy}","received_events_url":"https://api.github.com/users/tgruben/received_events","type":"User","site_admin":false},"repo":{"id":21708754,"name":"roaring","full_name":"tgruben/roaring","owner":{"login":"tgruben","id":889059,"avatar_url":"https://avatars.githubusercontent.com/u/889059?v=3","gravatar_id":"","url":"https://api.github.com/users/tgruben","html_url":"https://github.com/tgruben","followers_url":"https://api.github.com/users/tgruben/followers","following_url":"https://api.github.com/users/tgruben/following{/other_user}","gists_url":"https://api.github.com/users/tgruben/gists{/gist_id}","starred_url":"https://api.github.com/users/tgruben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgruben/subscriptions","organizations_url":"https://api.github.com/users/tgruben/orgs","repos_url":"https://api.github.com/users/tgruben/repos","events_url":"https://api.github.com/users/tgruben/events{/privacy}","received_events_url":"https://api.github.com/users/tgruben/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tgruben/roaring","description":"","fork":false,"url":"https://api.github.com/repos/tgruben/roaring","forks_url":"https://api.github.com/repos/tgruben/roaring/forks","keys_url":"https://api.github.com/repos/tgruben/roaring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgruben/roaring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgruben/roaring/teams","hooks_url":"https://api.github.com/repos/tgruben/roaring/hooks","issue_events_url":"https://api.github.com/repos/tgruben/roaring/issues/events{/number}","events_url":"https://api.github.com/repos/tgruben/roaring/events","assignees_url":"https://api.github.com/repos/tgruben/roaring/assignees{/user}","branches_url":"https://api.github.com/repos/tgruben/roaring/branches{/branch}","tags_url":"https://api.github.com/repos/tgruben/roaring/tags","blobs_url":"https://api.github.com/repos/tgruben/roaring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgruben/roaring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgruben/roaring/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgruben/roaring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgruben/roaring/statuses/{sha}","languages_url":"https://api.github.com/repos/tgruben/roaring/languages","stargazers_url":"https://api.github.com/repos/tgruben/roaring/stargazers","contributors_url":"https://api.github.com/repos/tgruben/roaring/contributors","subscribers_url":"https://api.github.com/repos/tgruben/roaring/subscribers","subscription_url":"https://api.github.com/repos/tgruben/roaring/subscription","commits_url":"https://api.github.com/repos/tgruben/roaring/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgruben/roaring/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgruben/roaring/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgruben/roaring/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgruben/roaring/contents/{+path}","compare_url":"https://api.github.com/repos/tgruben/roaring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgruben/roaring/merges","archive_url":"https://api.github.com/repos/tgruben/roaring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgruben/roaring/downloads","issues_url":"https://api.github.com/repos/tgruben/roaring/issues{/number}","pulls_url":"https://api.github.com/repos/tgruben/roaring/pulls{/number}","milestones_url":"https://api.github.com/repos/tgruben/roaring/milestones{/number}","notifications_url":"https://api.github.com/repos/tgruben/roaring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgruben/roaring/labels{/name}","releases_url":"https://api.github.com/repos/tgruben/roaring/releases{/id}","created_at":"2014-07-10T20:14:34Z","updated_at":"2015-06-18T20:31:43Z","pushed_at":"2015-06-11T03:24:35Z","git_url":"git://github.com/tgruben/roaring.git","ssh_url":"git@github.com:tgruben/roaring.git","clone_url":"https://github.com/tgruben/roaring.git","svn_url":"https://github.com/tgruben/roaring","homepage":null,"size":656,"stargazers_count":72,"watchers_count":72,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":4,"forks":7,"open_issues":4,"watchers":72,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tgruben/roaring/pulls/32"},"html":{"href":"https://github.com/tgruben/roaring/pull/32"},"issue":{"href":"https://api.github.com/repos/tgruben/roaring/issues/32"},"comments":{"href":"https://api.github.com/repos/tgruben/roaring/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/tgruben/roaring/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/tgruben/roaring/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tgruben/roaring/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/tgruben/roaring/statuses/b072ef2c8737567976dd931fd44e19b7677e52af"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":94,"deletions":97,"changed_files":4}}