{"action":"closed","number":537,"pull_request":{"url":"https://api.github.com/repos/taglib/taglib/pulls/537","id":35531792,"html_url":"https://github.com/taglib/taglib/pull/537","diff_url":"https://github.com/taglib/taglib/pull/537.diff","patch_url":"https://github.com/taglib/taglib/pull/537.patch","issue_url":"https://api.github.com/repos/taglib/taglib/issues/537","number":537,"state":"closed","locked":false,"title":"Bytevector truncate","user":{"login":"gogglesguy","id":1843382,"avatar_url":"https://avatars.githubusercontent.com/u/1843382?v=3","gravatar_id":"","url":"https://api.github.com/users/gogglesguy","html_url":"https://github.com/gogglesguy","followers_url":"https://api.github.com/users/gogglesguy/followers","following_url":"https://api.github.com/users/gogglesguy/following{/other_user}","gists_url":"https://api.github.com/users/gogglesguy/gists{/gist_id}","starred_url":"https://api.github.com/users/gogglesguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gogglesguy/subscriptions","organizations_url":"https://api.github.com/users/gogglesguy/orgs","repos_url":"https://api.github.com/users/gogglesguy/repos","events_url":"https://api.github.com/users/gogglesguy/events{/privacy}","received_events_url":"https://api.github.com/users/gogglesguy/received_events","type":"User","site_admin":false},"body":"Get rid of the additional buffer resize() in String.data(String::UTF8) by doing a cheap truncate on the ByteVector. The returned bytevector is mostly likely a short lived transitional buffer anyhow.","created_at":"2015-05-15T17:08:35Z","updated_at":"2015-05-15T17:45:24Z","closed_at":"2015-05-15T17:45:24Z","merged_at":null,"merge_commit_sha":"5acc0a5075d401df6bc338c60cc64b01a734a268","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/taglib/taglib/pulls/537/commits","review_comments_url":"https://api.github.com/repos/taglib/taglib/pulls/537/comments","review_comment_url":"https://api.github.com/repos/taglib/taglib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/taglib/taglib/issues/537/comments","statuses_url":"https://api.github.com/repos/taglib/taglib/statuses/8d1232da08bfcdc8575fd3cbbc9aa43039363ebd","head":{"label":"gogglesmm:bytevector-truncate","ref":"bytevector-truncate","sha":"8d1232da08bfcdc8575fd3cbbc9aa43039363ebd","user":{"login":"gogglesmm","id":5438163,"avatar_url":"https://avatars.githubusercontent.com/u/5438163?v=3","gravatar_id":"","url":"https://api.github.com/users/gogglesmm","html_url":"https://github.com/gogglesmm","followers_url":"https://api.github.com/users/gogglesmm/followers","following_url":"https://api.github.com/users/gogglesmm/following{/other_user}","gists_url":"https://api.github.com/users/gogglesmm/gists{/gist_id}","starred_url":"https://api.github.com/users/gogglesmm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gogglesmm/subscriptions","organizations_url":"https://api.github.com/users/gogglesmm/orgs","repos_url":"https://api.github.com/users/gogglesmm/repos","events_url":"https://api.github.com/users/gogglesmm/events{/privacy}","received_events_url":"https://api.github.com/users/gogglesmm/received_events","type":"Organization","site_admin":false},"repo":{"id":35684623,"name":"taglib","full_name":"gogglesmm/taglib","owner":{"login":"gogglesmm","id":5438163,"avatar_url":"https://avatars.githubusercontent.com/u/5438163?v=3","gravatar_id":"","url":"https://api.github.com/users/gogglesmm","html_url":"https://github.com/gogglesmm","followers_url":"https://api.github.com/users/gogglesmm/followers","following_url":"https://api.github.com/users/gogglesmm/following{/other_user}","gists_url":"https://api.github.com/users/gogglesmm/gists{/gist_id}","starred_url":"https://api.github.com/users/gogglesmm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gogglesmm/subscriptions","organizations_url":"https://api.github.com/users/gogglesmm/orgs","repos_url":"https://api.github.com/users/gogglesmm/repos","events_url":"https://api.github.com/users/gogglesmm/events{/privacy}","received_events_url":"https://api.github.com/users/gogglesmm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gogglesmm/taglib","description":"TagLib Audio Meta-Data Library","fork":true,"url":"https://api.github.com/repos/gogglesmm/taglib","forks_url":"https://api.github.com/repos/gogglesmm/taglib/forks","keys_url":"https://api.github.com/repos/gogglesmm/taglib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gogglesmm/taglib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gogglesmm/taglib/teams","hooks_url":"https://api.github.com/repos/gogglesmm/taglib/hooks","issue_events_url":"https://api.github.com/repos/gogglesmm/taglib/issues/events{/number}","events_url":"https://api.github.com/repos/gogglesmm/taglib/events","assignees_url":"https://api.github.com/repos/gogglesmm/taglib/assignees{/user}","branches_url":"https://api.github.com/repos/gogglesmm/taglib/branches{/branch}","tags_url":"https://api.github.com/repos/gogglesmm/taglib/tags","blobs_url":"https://api.github.com/repos/gogglesmm/taglib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gogglesmm/taglib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gogglesmm/taglib/git/refs{/sha}","trees_url":"https://api.github.com/repos/gogglesmm/taglib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gogglesmm/taglib/statuses/{sha}","languages_url":"https://api.github.com/repos/gogglesmm/taglib/languages","stargazers_url":"https://api.github.com/repos/gogglesmm/taglib/stargazers","contributors_url":"https://api.github.com/repos/gogglesmm/taglib/contributors","subscribers_url":"https://api.github.com/repos/gogglesmm/taglib/subscribers","subscription_url":"https://api.github.com/repos/gogglesmm/taglib/subscription","commits_url":"https://api.github.com/repos/gogglesmm/taglib/commits{/sha}","git_commits_url":"https://api.github.com/repos/gogglesmm/taglib/git/commits{/sha}","comments_url":"https://api.github.com/repos/gogglesmm/taglib/comments{/number}","issue_comment_url":"https://api.github.com/repos/gogglesmm/taglib/issues/comments{/number}","contents_url":"https://api.github.com/repos/gogglesmm/taglib/contents/{+path}","compare_url":"https://api.github.com/repos/gogglesmm/taglib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gogglesmm/taglib/merges","archive_url":"https://api.github.com/repos/gogglesmm/taglib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gogglesmm/taglib/downloads","issues_url":"https://api.github.com/repos/gogglesmm/taglib/issues{/number}","pulls_url":"https://api.github.com/repos/gogglesmm/taglib/pulls{/number}","milestones_url":"https://api.github.com/repos/gogglesmm/taglib/milestones{/number}","notifications_url":"https://api.github.com/repos/gogglesmm/taglib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gogglesmm/taglib/labels{/name}","releases_url":"https://api.github.com/repos/gogglesmm/taglib/releases{/id}","created_at":"2015-05-15T16:30:08Z","updated_at":"2015-05-15T16:30:09Z","pushed_at":"2015-05-15T17:04:15Z","git_url":"git://github.com/gogglesmm/taglib.git","ssh_url":"git@github.com:gogglesmm/taglib.git","clone_url":"https://github.com/gogglesmm/taglib.git","svn_url":"https://github.com/gogglesmm/taglib","homepage":"http://taglib.github.io/","size":8971,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"taglib:master","ref":"master","sha":"62ab41fa07bfe6456eafc7ffacbfa2043cba0668","user":{"login":"taglib","id":662523,"avatar_url":"https://avatars.githubusercontent.com/u/662523?v=3","gravatar_id":"","url":"https://api.github.com/users/taglib","html_url":"https://github.com/taglib","followers_url":"https://api.github.com/users/taglib/followers","following_url":"https://api.github.com/users/taglib/following{/other_user}","gists_url":"https://api.github.com/users/taglib/gists{/gist_id}","starred_url":"https://api.github.com/users/taglib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taglib/subscriptions","organizations_url":"https://api.github.com/users/taglib/orgs","repos_url":"https://api.github.com/users/taglib/repos","events_url":"https://api.github.com/users/taglib/events{/privacy}","received_events_url":"https://api.github.com/users/taglib/received_events","type":"Organization","site_admin":false},"repo":{"id":1465033,"name":"taglib","full_name":"taglib/taglib","owner":{"login":"taglib","id":662523,"avatar_url":"https://avatars.githubusercontent.com/u/662523?v=3","gravatar_id":"","url":"https://api.github.com/users/taglib","html_url":"https://github.com/taglib","followers_url":"https://api.github.com/users/taglib/followers","following_url":"https://api.github.com/users/taglib/following{/other_user}","gists_url":"https://api.github.com/users/taglib/gists{/gist_id}","starred_url":"https://api.github.com/users/taglib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taglib/subscriptions","organizations_url":"https://api.github.com/users/taglib/orgs","repos_url":"https://api.github.com/users/taglib/repos","events_url":"https://api.github.com/users/taglib/events{/privacy}","received_events_url":"https://api.github.com/users/taglib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/taglib/taglib","description":"TagLib Audio Meta-Data Library","fork":false,"url":"https://api.github.com/repos/taglib/taglib","forks_url":"https://api.github.com/repos/taglib/taglib/forks","keys_url":"https://api.github.com/repos/taglib/taglib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taglib/taglib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taglib/taglib/teams","hooks_url":"https://api.github.com/repos/taglib/taglib/hooks","issue_events_url":"https://api.github.com/repos/taglib/taglib/issues/events{/number}","events_url":"https://api.github.com/repos/taglib/taglib/events","assignees_url":"https://api.github.com/repos/taglib/taglib/assignees{/user}","branches_url":"https://api.github.com/repos/taglib/taglib/branches{/branch}","tags_url":"https://api.github.com/repos/taglib/taglib/tags","blobs_url":"https://api.github.com/repos/taglib/taglib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taglib/taglib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taglib/taglib/git/refs{/sha}","trees_url":"https://api.github.com/repos/taglib/taglib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taglib/taglib/statuses/{sha}","languages_url":"https://api.github.com/repos/taglib/taglib/languages","stargazers_url":"https://api.github.com/repos/taglib/taglib/stargazers","contributors_url":"https://api.github.com/repos/taglib/taglib/contributors","subscribers_url":"https://api.github.com/repos/taglib/taglib/subscribers","subscription_url":"https://api.github.com/repos/taglib/taglib/subscription","commits_url":"https://api.github.com/repos/taglib/taglib/commits{/sha}","git_commits_url":"https://api.github.com/repos/taglib/taglib/git/commits{/sha}","comments_url":"https://api.github.com/repos/taglib/taglib/comments{/number}","issue_comment_url":"https://api.github.com/repos/taglib/taglib/issues/comments{/number}","contents_url":"https://api.github.com/repos/taglib/taglib/contents/{+path}","compare_url":"https://api.github.com/repos/taglib/taglib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taglib/taglib/merges","archive_url":"https://api.github.com/repos/taglib/taglib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taglib/taglib/downloads","issues_url":"https://api.github.com/repos/taglib/taglib/issues{/number}","pulls_url":"https://api.github.com/repos/taglib/taglib/pulls{/number}","milestones_url":"https://api.github.com/repos/taglib/taglib/milestones{/number}","notifications_url":"https://api.github.com/repos/taglib/taglib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taglib/taglib/labels{/name}","releases_url":"https://api.github.com/repos/taglib/taglib/releases{/id}","created_at":"2011-03-10T19:36:24Z","updated_at":"2015-05-14T02:06:25Z","pushed_at":"2015-05-15T17:08:35Z","git_url":"git://github.com/taglib/taglib.git","ssh_url":"git@github.com:taglib/taglib.git","clone_url":"https://github.com/taglib/taglib.git","svn_url":"https://github.com/taglib/taglib","homepage":"http://taglib.github.io/","size":8971,"stargazers_count":317,"watchers_count":317,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":110,"mirror_url":null,"open_issues_count":71,"forks":110,"open_issues":71,"watchers":317,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/taglib/taglib/pulls/537"},"html":{"href":"https://github.com/taglib/taglib/pull/537"},"issue":{"href":"https://api.github.com/repos/taglib/taglib/issues/537"},"comments":{"href":"https://api.github.com/repos/taglib/taglib/issues/537/comments"},"review_comments":{"href":"https://api.github.com/repos/taglib/taglib/pulls/537/comments"},"review_comment":{"href":"https://api.github.com/repos/taglib/taglib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/taglib/taglib/pulls/537/commits"},"statuses":{"href":"https://api.github.com/repos/taglib/taglib/statuses/8d1232da08bfcdc8575fd3cbbc9aa43039363ebd"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":4,"review_comments":0,"commits":2,"additions":17,"deletions":1,"changed_files":3}}