{"action":"closed","number":552,"pull_request":{"url":"https://api.github.com/repos/apple/swift-protobuf/pulls/552","id":122474258,"html_url":"https://github.com/apple/swift-protobuf/pull/552","diff_url":"https://github.com/apple/swift-protobuf/pull/552.diff","patch_url":"https://github.com/apple/swift-protobuf/pull/552.patch","issue_url":"https://api.github.com/repos/apple/swift-protobuf/issues/552","number":552,"state":"closed","locked":false,"title":"Add a static defaultInstance to the _StorageClasses.","user":{"login":"thomasvl","id":5279928,"avatar_url":"https://avatars0.githubusercontent.com/u/5279928?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasvl","html_url":"https://github.com/thomasvl","followers_url":"https://api.github.com/users/thomasvl/followers","following_url":"https://api.github.com/users/thomasvl/following{/other_user}","gists_url":"https://api.github.com/users/thomasvl/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasvl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasvl/subscriptions","organizations_url":"https://api.github.com/users/thomasvl/orgs","repos_url":"https://api.github.com/users/thomasvl/repos","events_url":"https://api.github.com/users/thomasvl/events{/privacy}","received_events_url":"https://api.github.com/users/thomasvl/received_events","type":"User","site_admin":false},"body":"Start each message with this static instance so there is no heap\r\nallocation until the value is actually mutated. This should be\r\nthe biggest win when getting a message field that hasn't been\r\nset as it avoids a heap allocation in that read only case.","created_at":"2017-05-25T16:21:23Z","updated_at":"2017-05-25T19:15:27Z","closed_at":"2017-05-25T19:15:27Z","merged_at":"2017-05-25T19:15:27Z","merge_commit_sha":"9f8f207d6f8bec17defc8a2291bddb8a08d1941d","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/apple/swift-protobuf/pulls/552/commits","review_comments_url":"https://api.github.com/repos/apple/swift-protobuf/pulls/552/comments","review_comment_url":"https://api.github.com/repos/apple/swift-protobuf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apple/swift-protobuf/issues/552/comments","statuses_url":"https://api.github.com/repos/apple/swift-protobuf/statuses/ae3f80163e792a6bfbaabbe1b1b843bc758837b4","head":{"label":"thomasvl:default_storage_instance","ref":"default_storage_instance","sha":"ae3f80163e792a6bfbaabbe1b1b843bc758837b4","user":{"login":"thomasvl","id":5279928,"avatar_url":"https://avatars0.githubusercontent.com/u/5279928?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasvl","html_url":"https://github.com/thomasvl","followers_url":"https://api.github.com/users/thomasvl/followers","following_url":"https://api.github.com/users/thomasvl/following{/other_user}","gists_url":"https://api.github.com/users/thomasvl/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasvl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasvl/subscriptions","organizations_url":"https://api.github.com/users/thomasvl/orgs","repos_url":"https://api.github.com/users/thomasvl/repos","events_url":"https://api.github.com/users/thomasvl/events{/privacy}","received_events_url":"https://api.github.com/users/thomasvl/received_events","type":"User","site_admin":false},"repo":{"id":70004078,"name":"swift-protobuf","full_name":"thomasvl/swift-protobuf","owner":{"login":"thomasvl","id":5279928,"avatar_url":"https://avatars0.githubusercontent.com/u/5279928?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasvl","html_url":"https://github.com/thomasvl","followers_url":"https://api.github.com/users/thomasvl/followers","following_url":"https://api.github.com/users/thomasvl/following{/other_user}","gists_url":"https://api.github.com/users/thomasvl/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasvl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasvl/subscriptions","organizations_url":"https://api.github.com/users/thomasvl/orgs","repos_url":"https://api.github.com/users/thomasvl/repos","events_url":"https://api.github.com/users/thomasvl/events{/privacy}","received_events_url":"https://api.github.com/users/thomasvl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thomasvl/swift-protobuf","description":"Plugin and runtime library for using protobuf with Swift","fork":true,"url":"https://api.github.com/repos/thomasvl/swift-protobuf","forks_url":"https://api.github.com/repos/thomasvl/swift-protobuf/forks","keys_url":"https://api.github.com/repos/thomasvl/swift-protobuf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thomasvl/swift-protobuf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thomasvl/swift-protobuf/teams","hooks_url":"https://api.github.com/repos/thomasvl/swift-protobuf/hooks","issue_events_url":"https://api.github.com/repos/thomasvl/swift-protobuf/issues/events{/number}","events_url":"https://api.github.com/repos/thomasvl/swift-protobuf/events","assignees_url":"https://api.github.com/repos/thomasvl/swift-protobuf/assignees{/user}","branches_url":"https://api.github.com/repos/thomasvl/swift-protobuf/branches{/branch}","tags_url":"https://api.github.com/repos/thomasvl/swift-protobuf/tags","blobs_url":"https://api.github.com/repos/thomasvl/swift-protobuf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thomasvl/swift-protobuf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thomasvl/swift-protobuf/git/refs{/sha}","trees_url":"https://api.github.com/repos/thomasvl/swift-protobuf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thomasvl/swift-protobuf/statuses/{sha}","languages_url":"https://api.github.com/repos/thomasvl/swift-protobuf/languages","stargazers_url":"https://api.github.com/repos/thomasvl/swift-protobuf/stargazers","contributors_url":"https://api.github.com/repos/thomasvl/swift-protobuf/contributors","subscribers_url":"https://api.github.com/repos/thomasvl/swift-protobuf/subscribers","subscription_url":"https://api.github.com/repos/thomasvl/swift-protobuf/subscription","commits_url":"https://api.github.com/repos/thomasvl/swift-protobuf/commits{/sha}","git_commits_url":"https://api.github.com/repos/thomasvl/swift-protobuf/git/commits{/sha}","comments_url":"https://api.github.com/repos/thomasvl/swift-protobuf/comments{/number}","issue_comment_url":"https://api.github.com/repos/thomasvl/swift-protobuf/issues/comments{/number}","contents_url":"https://api.github.com/repos/thomasvl/swift-protobuf/contents/{+path}","compare_url":"https://api.github.com/repos/thomasvl/swift-protobuf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thomasvl/swift-protobuf/merges","archive_url":"https://api.github.com/repos/thomasvl/swift-protobuf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thomasvl/swift-protobuf/downloads","issues_url":"https://api.github.com/repos/thomasvl/swift-protobuf/issues{/number}","pulls_url":"https://api.github.com/repos/thomasvl/swift-protobuf/pulls{/number}","milestones_url":"https://api.github.com/repos/thomasvl/swift-protobuf/milestones{/number}","notifications_url":"https://api.github.com/repos/thomasvl/swift-protobuf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thomasvl/swift-protobuf/labels{/name}","releases_url":"https://api.github.com/repos/thomasvl/swift-protobuf/releases{/id}","deployments_url":"https://api.github.com/repos/thomasvl/swift-protobuf/deployments","created_at":"2016-10-04T20:36:31Z","updated_at":"2016-10-04T20:36:33Z","pushed_at":"2017-05-25T19:13:46Z","git_url":"git://github.com/thomasvl/swift-protobuf.git","ssh_url":"git@github.com:thomasvl/swift-protobuf.git","clone_url":"https://github.com/thomasvl/swift-protobuf.git","svn_url":"https://github.com/thomasvl/swift-protobuf","homepage":"","size":14459,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_projects":true,"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":"master"}},"base":{"label":"apple:master","ref":"master","sha":"76b995bf38bdcce407ffbcf271f7d7a16710eb9f","user":{"login":"apple","id":10639145,"avatar_url":"https://avatars3.githubusercontent.com/u/10639145?v=3","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"repo":{"id":67177488,"name":"swift-protobuf","full_name":"apple/swift-protobuf","owner":{"login":"apple","id":10639145,"avatar_url":"https://avatars3.githubusercontent.com/u/10639145?v=3","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apple/swift-protobuf","description":"Plugin and runtime library for using protobuf with Swift","fork":false,"url":"https://api.github.com/repos/apple/swift-protobuf","forks_url":"https://api.github.com/repos/apple/swift-protobuf/forks","keys_url":"https://api.github.com/repos/apple/swift-protobuf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apple/swift-protobuf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apple/swift-protobuf/teams","hooks_url":"https://api.github.com/repos/apple/swift-protobuf/hooks","issue_events_url":"https://api.github.com/repos/apple/swift-protobuf/issues/events{/number}","events_url":"https://api.github.com/repos/apple/swift-protobuf/events","assignees_url":"https://api.github.com/repos/apple/swift-protobuf/assignees{/user}","branches_url":"https://api.github.com/repos/apple/swift-protobuf/branches{/branch}","tags_url":"https://api.github.com/repos/apple/swift-protobuf/tags","blobs_url":"https://api.github.com/repos/apple/swift-protobuf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apple/swift-protobuf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apple/swift-protobuf/git/refs{/sha}","trees_url":"https://api.github.com/repos/apple/swift-protobuf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apple/swift-protobuf/statuses/{sha}","languages_url":"https://api.github.com/repos/apple/swift-protobuf/languages","stargazers_url":"https://api.github.com/repos/apple/swift-protobuf/stargazers","contributors_url":"https://api.github.com/repos/apple/swift-protobuf/contributors","subscribers_url":"https://api.github.com/repos/apple/swift-protobuf/subscribers","subscription_url":"https://api.github.com/repos/apple/swift-protobuf/subscription","commits_url":"https://api.github.com/repos/apple/swift-protobuf/commits{/sha}","git_commits_url":"https://api.github.com/repos/apple/swift-protobuf/git/commits{/sha}","comments_url":"https://api.github.com/repos/apple/swift-protobuf/comments{/number}","issue_comment_url":"https://api.github.com/repos/apple/swift-protobuf/issues/comments{/number}","contents_url":"https://api.github.com/repos/apple/swift-protobuf/contents/{+path}","compare_url":"https://api.github.com/repos/apple/swift-protobuf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apple/swift-protobuf/merges","archive_url":"https://api.github.com/repos/apple/swift-protobuf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apple/swift-protobuf/downloads","issues_url":"https://api.github.com/repos/apple/swift-protobuf/issues{/number}","pulls_url":"https://api.github.com/repos/apple/swift-protobuf/pulls{/number}","milestones_url":"https://api.github.com/repos/apple/swift-protobuf/milestones{/number}","notifications_url":"https://api.github.com/repos/apple/swift-protobuf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apple/swift-protobuf/labels{/name}","releases_url":"https://api.github.com/repos/apple/swift-protobuf/releases{/id}","deployments_url":"https://api.github.com/repos/apple/swift-protobuf/deployments","created_at":"2016-09-02T00:51:55Z","updated_at":"2017-05-25T14:49:06Z","pushed_at":"2017-05-25T19:15:27Z","git_url":"git://github.com/apple/swift-protobuf.git","ssh_url":"git@github.com:apple/swift-protobuf.git","clone_url":"https://github.com/apple/swift-protobuf.git","svn_url":"https://github.com/apple/swift-protobuf","homepage":"","size":14187,"stargazers_count":1069,"watchers_count":1069,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":82,"mirror_url":null,"open_issues_count":26,"forks":82,"open_issues":26,"watchers":1069,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apple/swift-protobuf/pulls/552"},"html":{"href":"https://github.com/apple/swift-protobuf/pull/552"},"issue":{"href":"https://api.github.com/repos/apple/swift-protobuf/issues/552"},"comments":{"href":"https://api.github.com/repos/apple/swift-protobuf/issues/552/comments"},"review_comments":{"href":"https://api.github.com/repos/apple/swift-protobuf/pulls/552/comments"},"review_comment":{"href":"https://api.github.com/repos/apple/swift-protobuf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apple/swift-protobuf/pulls/552/commits"},"statuses":{"href":"https://api.github.com/repos/apple/swift-protobuf/statuses/ae3f80163e792a6bfbaabbe1b1b843bc758837b4"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"thomasvl","id":5279928,"avatar_url":"https://avatars0.githubusercontent.com/u/5279928?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasvl","html_url":"https://github.com/thomasvl","followers_url":"https://api.github.com/users/thomasvl/followers","following_url":"https://api.github.com/users/thomasvl/following{/other_user}","gists_url":"https://api.github.com/users/thomasvl/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasvl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasvl/subscriptions","organizations_url":"https://api.github.com/users/thomasvl/orgs","repos_url":"https://api.github.com/users/thomasvl/repos","events_url":"https://api.github.com/users/thomasvl/events{/privacy}","received_events_url":"https://api.github.com/users/thomasvl/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":9198,"deletions":8544,"changed_files":91}}
{"actor":{"display_login":"thomasvl"}}