{"action":"closed","number":48,"pull_request":{"url":"https://api.github.com/repos/klauspost/compress/pulls/48","id":64001266,"html_url":"https://github.com/klauspost/compress/pull/48","diff_url":"https://github.com/klauspost/compress/pull/48.diff","patch_url":"https://github.com/klauspost/compress/pull/48.patch","issue_url":"https://api.github.com/repos/klauspost/compress/issues/48","number":48,"state":"closed","locked":false,"title":"Level 4-7: Always attempt Huffman","user":{"login":"klauspost","id":5663952,"avatar_url":"https://avatars.githubusercontent.com/u/5663952?v=3","gravatar_id":"","url":"https://api.github.com/users/klauspost","html_url":"https://github.com/klauspost","followers_url":"https://api.github.com/users/klauspost/followers","following_url":"https://api.github.com/users/klauspost/following{/other_user}","gists_url":"https://api.github.com/users/klauspost/gists{/gist_id}","starred_url":"https://api.github.com/users/klauspost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klauspost/subscriptions","organizations_url":"https://api.github.com/users/klauspost/orgs","repos_url":"https://api.github.com/users/klauspost/repos","events_url":"https://api.github.com/users/klauspost/events{/privacy}","received_events_url":"https://api.github.com/users/klauspost/received_events","type":"User","site_admin":false},"body":"Always at least attempt to Huffman compress the blocks.\r\n\r\nSince this part is now used for level 4-7, we can afford some more expensive checks. This should make base64 encoding of random input better.\r\n\r\nAlso, use variable threshold, instead of constant 10 literals.","created_at":"2016-03-24T08:09:17Z","updated_at":"2016-03-24T10:54:19Z","closed_at":"2016-03-24T10:54:19Z","merged_at":"2016-03-24T10:54:19Z","merge_commit_sha":"4a63d76d4cf75bab790914d6492bbfe9dca5e047","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/klauspost/compress/pulls/48/commits","review_comments_url":"https://api.github.com/repos/klauspost/compress/pulls/48/comments","review_comment_url":"https://api.github.com/repos/klauspost/compress/pulls/comments{/number}","comments_url":"https://api.github.com/repos/klauspost/compress/issues/48/comments","statuses_url":"https://api.github.com/repos/klauspost/compress/statuses/38ff6404f7aa03d17d6f86d564e4b4710ccfc199","head":{"label":"klauspost:deflate-always-huffmann","ref":"deflate-always-huffmann","sha":"38ff6404f7aa03d17d6f86d564e4b4710ccfc199","user":{"login":"klauspost","id":5663952,"avatar_url":"https://avatars.githubusercontent.com/u/5663952?v=3","gravatar_id":"","url":"https://api.github.com/users/klauspost","html_url":"https://github.com/klauspost","followers_url":"https://api.github.com/users/klauspost/followers","following_url":"https://api.github.com/users/klauspost/following{/other_user}","gists_url":"https://api.github.com/users/klauspost/gists{/gist_id}","starred_url":"https://api.github.com/users/klauspost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klauspost/subscriptions","organizations_url":"https://api.github.com/users/klauspost/orgs","repos_url":"https://api.github.com/users/klauspost/repos","events_url":"https://api.github.com/users/klauspost/events{/privacy}","received_events_url":"https://api.github.com/users/klauspost/received_events","type":"User","site_admin":false},"repo":{"id":39468142,"name":"compress","full_name":"klauspost/compress","owner":{"login":"klauspost","id":5663952,"avatar_url":"https://avatars.githubusercontent.com/u/5663952?v=3","gravatar_id":"","url":"https://api.github.com/users/klauspost","html_url":"https://github.com/klauspost","followers_url":"https://api.github.com/users/klauspost/followers","following_url":"https://api.github.com/users/klauspost/following{/other_user}","gists_url":"https://api.github.com/users/klauspost/gists{/gist_id}","starred_url":"https://api.github.com/users/klauspost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klauspost/subscriptions","organizations_url":"https://api.github.com/users/klauspost/orgs","repos_url":"https://api.github.com/users/klauspost/repos","events_url":"https://api.github.com/users/klauspost/events{/privacy}","received_events_url":"https://api.github.com/users/klauspost/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/klauspost/compress","description":"Optimized compression packages","fork":false,"url":"https://api.github.com/repos/klauspost/compress","forks_url":"https://api.github.com/repos/klauspost/compress/forks","keys_url":"https://api.github.com/repos/klauspost/compress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/klauspost/compress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/klauspost/compress/teams","hooks_url":"https://api.github.com/repos/klauspost/compress/hooks","issue_events_url":"https://api.github.com/repos/klauspost/compress/issues/events{/number}","events_url":"https://api.github.com/repos/klauspost/compress/events","assignees_url":"https://api.github.com/repos/klauspost/compress/assignees{/user}","branches_url":"https://api.github.com/repos/klauspost/compress/branches{/branch}","tags_url":"https://api.github.com/repos/klauspost/compress/tags","blobs_url":"https://api.github.com/repos/klauspost/compress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/klauspost/compress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/klauspost/compress/git/refs{/sha}","trees_url":"https://api.github.com/repos/klauspost/compress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/klauspost/compress/statuses/{sha}","languages_url":"https://api.github.com/repos/klauspost/compress/languages","stargazers_url":"https://api.github.com/repos/klauspost/compress/stargazers","contributors_url":"https://api.github.com/repos/klauspost/compress/contributors","subscribers_url":"https://api.github.com/repos/klauspost/compress/subscribers","subscription_url":"https://api.github.com/repos/klauspost/compress/subscription","commits_url":"https://api.github.com/repos/klauspost/compress/commits{/sha}","git_commits_url":"https://api.github.com/repos/klauspost/compress/git/commits{/sha}","comments_url":"https://api.github.com/repos/klauspost/compress/comments{/number}","issue_comment_url":"https://api.github.com/repos/klauspost/compress/issues/comments{/number}","contents_url":"https://api.github.com/repos/klauspost/compress/contents/{+path}","compare_url":"https://api.github.com/repos/klauspost/compress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/klauspost/compress/merges","archive_url":"https://api.github.com/repos/klauspost/compress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/klauspost/compress/downloads","issues_url":"https://api.github.com/repos/klauspost/compress/issues{/number}","pulls_url":"https://api.github.com/repos/klauspost/compress/pulls{/number}","milestones_url":"https://api.github.com/repos/klauspost/compress/milestones{/number}","notifications_url":"https://api.github.com/repos/klauspost/compress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/klauspost/compress/labels{/name}","releases_url":"https://api.github.com/repos/klauspost/compress/releases{/id}","deployments_url":"https://api.github.com/repos/klauspost/compress/deployments","created_at":"2015-07-21T20:25:36Z","updated_at":"2016-03-23T08:32:21Z","pushed_at":"2016-03-24T10:54:19Z","git_url":"git://github.com/klauspost/compress.git","ssh_url":"git@github.com:klauspost/compress.git","clone_url":"https://github.com/klauspost/compress.git","svn_url":"https://github.com/klauspost/compress","homepage":null,"size":9343,"stargazers_count":388,"watchers_count":388,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":5,"forks":24,"open_issues":5,"watchers":388,"default_branch":"master"}},"base":{"label":"klauspost:master","ref":"master","sha":"006acde2c5d283d2f8b8aa03d8f0cd2891c680cf","user":{"login":"klauspost","id":5663952,"avatar_url":"https://avatars.githubusercontent.com/u/5663952?v=3","gravatar_id":"","url":"https://api.github.com/users/klauspost","html_url":"https://github.com/klauspost","followers_url":"https://api.github.com/users/klauspost/followers","following_url":"https://api.github.com/users/klauspost/following{/other_user}","gists_url":"https://api.github.com/users/klauspost/gists{/gist_id}","starred_url":"https://api.github.com/users/klauspost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klauspost/subscriptions","organizations_url":"https://api.github.com/users/klauspost/orgs","repos_url":"https://api.github.com/users/klauspost/repos","events_url":"https://api.github.com/users/klauspost/events{/privacy}","received_events_url":"https://api.github.com/users/klauspost/received_events","type":"User","site_admin":false},"repo":{"id":39468142,"name":"compress","full_name":"klauspost/compress","owner":{"login":"klauspost","id":5663952,"avatar_url":"https://avatars.githubusercontent.com/u/5663952?v=3","gravatar_id":"","url":"https://api.github.com/users/klauspost","html_url":"https://github.com/klauspost","followers_url":"https://api.github.com/users/klauspost/followers","following_url":"https://api.github.com/users/klauspost/following{/other_user}","gists_url":"https://api.github.com/users/klauspost/gists{/gist_id}","starred_url":"https://api.github.com/users/klauspost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klauspost/subscriptions","organizations_url":"https://api.github.com/users/klauspost/orgs","repos_url":"https://api.github.com/users/klauspost/repos","events_url":"https://api.github.com/users/klauspost/events{/privacy}","received_events_url":"https://api.github.com/users/klauspost/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/klauspost/compress","description":"Optimized compression packages","fork":false,"url":"https://api.github.com/repos/klauspost/compress","forks_url":"https://api.github.com/repos/klauspost/compress/forks","keys_url":"https://api.github.com/repos/klauspost/compress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/klauspost/compress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/klauspost/compress/teams","hooks_url":"https://api.github.com/repos/klauspost/compress/hooks","issue_events_url":"https://api.github.com/repos/klauspost/compress/issues/events{/number}","events_url":"https://api.github.com/repos/klauspost/compress/events","assignees_url":"https://api.github.com/repos/klauspost/compress/assignees{/user}","branches_url":"https://api.github.com/repos/klauspost/compress/branches{/branch}","tags_url":"https://api.github.com/repos/klauspost/compress/tags","blobs_url":"https://api.github.com/repos/klauspost/compress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/klauspost/compress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/klauspost/compress/git/refs{/sha}","trees_url":"https://api.github.com/repos/klauspost/compress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/klauspost/compress/statuses/{sha}","languages_url":"https://api.github.com/repos/klauspost/compress/languages","stargazers_url":"https://api.github.com/repos/klauspost/compress/stargazers","contributors_url":"https://api.github.com/repos/klauspost/compress/contributors","subscribers_url":"https://api.github.com/repos/klauspost/compress/subscribers","subscription_url":"https://api.github.com/repos/klauspost/compress/subscription","commits_url":"https://api.github.com/repos/klauspost/compress/commits{/sha}","git_commits_url":"https://api.github.com/repos/klauspost/compress/git/commits{/sha}","comments_url":"https://api.github.com/repos/klauspost/compress/comments{/number}","issue_comment_url":"https://api.github.com/repos/klauspost/compress/issues/comments{/number}","contents_url":"https://api.github.com/repos/klauspost/compress/contents/{+path}","compare_url":"https://api.github.com/repos/klauspost/compress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/klauspost/compress/merges","archive_url":"https://api.github.com/repos/klauspost/compress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/klauspost/compress/downloads","issues_url":"https://api.github.com/repos/klauspost/compress/issues{/number}","pulls_url":"https://api.github.com/repos/klauspost/compress/pulls{/number}","milestones_url":"https://api.github.com/repos/klauspost/compress/milestones{/number}","notifications_url":"https://api.github.com/repos/klauspost/compress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/klauspost/compress/labels{/name}","releases_url":"https://api.github.com/repos/klauspost/compress/releases{/id}","deployments_url":"https://api.github.com/repos/klauspost/compress/deployments","created_at":"2015-07-21T20:25:36Z","updated_at":"2016-03-23T08:32:21Z","pushed_at":"2016-03-24T10:54:19Z","git_url":"git://github.com/klauspost/compress.git","ssh_url":"git@github.com:klauspost/compress.git","clone_url":"https://github.com/klauspost/compress.git","svn_url":"https://github.com/klauspost/compress","homepage":null,"size":9343,"stargazers_count":388,"watchers_count":388,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":5,"forks":24,"open_issues":5,"watchers":388,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/klauspost/compress/pulls/48"},"html":{"href":"https://github.com/klauspost/compress/pull/48"},"issue":{"href":"https://api.github.com/repos/klauspost/compress/issues/48"},"comments":{"href":"https://api.github.com/repos/klauspost/compress/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/klauspost/compress/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/klauspost/compress/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/klauspost/compress/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/klauspost/compress/statuses/38ff6404f7aa03d17d6f86d564e4b4710ccfc199"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"klauspost","id":5663952,"avatar_url":"https://avatars.githubusercontent.com/u/5663952?v=3","gravatar_id":"","url":"https://api.github.com/users/klauspost","html_url":"https://github.com/klauspost","followers_url":"https://api.github.com/users/klauspost/followers","following_url":"https://api.github.com/users/klauspost/following{/other_user}","gists_url":"https://api.github.com/users/klauspost/gists{/gist_id}","starred_url":"https://api.github.com/users/klauspost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klauspost/subscriptions","organizations_url":"https://api.github.com/users/klauspost/orgs","repos_url":"https://api.github.com/users/klauspost/repos","events_url":"https://api.github.com/users/klauspost/events{/privacy}","received_events_url":"https://api.github.com/users/klauspost/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":4,"changed_files":1}}