{"action":"opened","number":15,"pull_request":{"url":"https://api.github.com/repos/typetypetype/conntrack/pulls/15","id":224359330,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0MzU5MzMw","html_url":"https://github.com/typetypetype/conntrack/pull/15","diff_url":"https://github.com/typetypetype/conntrack/pull/15.diff","patch_url":"https://github.com/typetypetype/conntrack/pull/15.patch","issue_url":"https://api.github.com/repos/typetypetype/conntrack/issues/15","number":15,"state":"open","locked":false,"title":"Allocate space for Attr slice on the stack, to save garbage-collection","user":{"login":"bboreham","id":8125524,"node_id":"MDQ6VXNlcjgxMjU1MjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8125524?v=4","gravatar_id":"","url":"https://api.github.com/users/bboreham","html_url":"https://github.com/bboreham","followers_url":"https://api.github.com/users/bboreham/followers","following_url":"https://api.github.com/users/bboreham/following{/other_user}","gists_url":"https://api.github.com/users/bboreham/gists{/gist_id}","starred_url":"https://api.github.com/users/bboreham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bboreham/subscriptions","organizations_url":"https://api.github.com/users/bboreham/orgs","repos_url":"https://api.github.com/users/bboreham/repos","events_url":"https://api.github.com/users/bboreham/events{/privacy}","received_events_url":"https://api.github.com/users/bboreham/received_events","type":"User","site_admin":false},"body":"Create an array with room for 16: `append()` will do a heap allocation if there are more than that, but in the common case it removes all memory allocation from this path.\r\n\r\nRemoving these allocations makes my program go about 10% faster.\r\n\r\n","created_at":"2018-10-19T17:33:43Z","updated_at":"2018-10-19T17:33:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/typetypetype/conntrack/pulls/15/commits","review_comments_url":"https://api.github.com/repos/typetypetype/conntrack/pulls/15/comments","review_comment_url":"https://api.github.com/repos/typetypetype/conntrack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/typetypetype/conntrack/issues/15/comments","statuses_url":"https://api.github.com/repos/typetypetype/conntrack/statuses/217e76d17461f56dae2e9822787e3b6e3b8baa7d","head":{"label":"bboreham:stack-attrs","ref":"stack-attrs","sha":"217e76d17461f56dae2e9822787e3b6e3b8baa7d","user":{"login":"bboreham","id":8125524,"node_id":"MDQ6VXNlcjgxMjU1MjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8125524?v=4","gravatar_id":"","url":"https://api.github.com/users/bboreham","html_url":"https://github.com/bboreham","followers_url":"https://api.github.com/users/bboreham/followers","following_url":"https://api.github.com/users/bboreham/following{/other_user}","gists_url":"https://api.github.com/users/bboreham/gists{/gist_id}","starred_url":"https://api.github.com/users/bboreham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bboreham/subscriptions","organizations_url":"https://api.github.com/users/bboreham/orgs","repos_url":"https://api.github.com/users/bboreham/repos","events_url":"https://api.github.com/users/bboreham/events{/privacy}","received_events_url":"https://api.github.com/users/bboreham/received_events","type":"User","site_admin":false},"repo":{"id":142217731,"node_id":"MDEwOlJlcG9zaXRvcnkxNDIyMTc3MzE=","name":"conntrack","full_name":"bboreham/conntrack","private":false,"owner":{"login":"bboreham","id":8125524,"node_id":"MDQ6VXNlcjgxMjU1MjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8125524?v=4","gravatar_id":"","url":"https://api.github.com/users/bboreham","html_url":"https://github.com/bboreham","followers_url":"https://api.github.com/users/bboreham/followers","following_url":"https://api.github.com/users/bboreham/following{/other_user}","gists_url":"https://api.github.com/users/bboreham/gists{/gist_id}","starred_url":"https://api.github.com/users/bboreham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bboreham/subscriptions","organizations_url":"https://api.github.com/users/bboreham/orgs","repos_url":"https://api.github.com/users/bboreham/repos","events_url":"https://api.github.com/users/bboreham/events{/privacy}","received_events_url":"https://api.github.com/users/bboreham/received_events","type":"User","site_admin":false},"html_url":"https://github.com/bboreham/conntrack","description":"Go module to monitor TCP connections using linux's ip_conntrack kernel module","fork":true,"url":"https://api.github.com/repos/bboreham/conntrack","forks_url":"https://api.github.com/repos/bboreham/conntrack/forks","keys_url":"https://api.github.com/repos/bboreham/conntrack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bboreham/conntrack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bboreham/conntrack/teams","hooks_url":"https://api.github.com/repos/bboreham/conntrack/hooks","issue_events_url":"https://api.github.com/repos/bboreham/conntrack/issues/events{/number}","events_url":"https://api.github.com/repos/bboreham/conntrack/events","assignees_url":"https://api.github.com/repos/bboreham/conntrack/assignees{/user}","branches_url":"https://api.github.com/repos/bboreham/conntrack/branches{/branch}","tags_url":"https://api.github.com/repos/bboreham/conntrack/tags","blobs_url":"https://api.github.com/repos/bboreham/conntrack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bboreham/conntrack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bboreham/conntrack/git/refs{/sha}","trees_url":"https://api.github.com/repos/bboreham/conntrack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bboreham/conntrack/statuses/{sha}","languages_url":"https://api.github.com/repos/bboreham/conntrack/languages","stargazers_url":"https://api.github.com/repos/bboreham/conntrack/stargazers","contributors_url":"https://api.github.com/repos/bboreham/conntrack/contributors","subscribers_url":"https://api.github.com/repos/bboreham/conntrack/subscribers","subscription_url":"https://api.github.com/repos/bboreham/conntrack/subscription","commits_url":"https://api.github.com/repos/bboreham/conntrack/commits{/sha}","git_commits_url":"https://api.github.com/repos/bboreham/conntrack/git/commits{/sha}","comments_url":"https://api.github.com/repos/bboreham/conntrack/comments{/number}","issue_comment_url":"https://api.github.com/repos/bboreham/conntrack/issues/comments{/number}","contents_url":"https://api.github.com/repos/bboreham/conntrack/contents/{+path}","compare_url":"https://api.github.com/repos/bboreham/conntrack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bboreham/conntrack/merges","archive_url":"https://api.github.com/repos/bboreham/conntrack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bboreham/conntrack/downloads","issues_url":"https://api.github.com/repos/bboreham/conntrack/issues{/number}","pulls_url":"https://api.github.com/repos/bboreham/conntrack/pulls{/number}","milestones_url":"https://api.github.com/repos/bboreham/conntrack/milestones{/number}","notifications_url":"https://api.github.com/repos/bboreham/conntrack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bboreham/conntrack/labels{/name}","releases_url":"https://api.github.com/repos/bboreham/conntrack/releases{/id}","deployments_url":"https://api.github.com/repos/bboreham/conntrack/deployments","created_at":"2018-07-24T22:09:32Z","updated_at":"2018-07-24T22:09:33Z","pushed_at":"2018-10-19T17:30:32Z","git_url":"git://github.com/bboreham/conntrack.git","ssh_url":"git@github.com:bboreham/conntrack.git","clone_url":"https://github.com/bboreham/conntrack.git","svn_url":"https://github.com/bboreham/conntrack","homepage":"","size":37,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"typetypetype:master","ref":"master","sha":"1ea266295634c1151975bfc6759453b06a01469b","user":{"login":"typetypetype","id":10553931,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNTUzOTMx","avatar_url":"https://avatars2.githubusercontent.com/u/10553931?v=4","gravatar_id":"","url":"https://api.github.com/users/typetypetype","html_url":"https://github.com/typetypetype","followers_url":"https://api.github.com/users/typetypetype/followers","following_url":"https://api.github.com/users/typetypetype/following{/other_user}","gists_url":"https://api.github.com/users/typetypetype/gists{/gist_id}","starred_url":"https://api.github.com/users/typetypetype/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typetypetype/subscriptions","organizations_url":"https://api.github.com/users/typetypetype/orgs","repos_url":"https://api.github.com/users/typetypetype/repos","events_url":"https://api.github.com/users/typetypetype/events{/privacy}","received_events_url":"https://api.github.com/users/typetypetype/received_events","type":"Organization","site_admin":false},"repo":{"id":29405950,"node_id":"MDEwOlJlcG9zaXRvcnkyOTQwNTk1MA==","name":"conntrack","full_name":"typetypetype/conntrack","private":false,"owner":{"login":"typetypetype","id":10553931,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNTUzOTMx","avatar_url":"https://avatars2.githubusercontent.com/u/10553931?v=4","gravatar_id":"","url":"https://api.github.com/users/typetypetype","html_url":"https://github.com/typetypetype","followers_url":"https://api.github.com/users/typetypetype/followers","following_url":"https://api.github.com/users/typetypetype/following{/other_user}","gists_url":"https://api.github.com/users/typetypetype/gists{/gist_id}","starred_url":"https://api.github.com/users/typetypetype/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typetypetype/subscriptions","organizations_url":"https://api.github.com/users/typetypetype/orgs","repos_url":"https://api.github.com/users/typetypetype/repos","events_url":"https://api.github.com/users/typetypetype/events{/privacy}","received_events_url":"https://api.github.com/users/typetypetype/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/typetypetype/conntrack","description":"Go module to monitor TCP connections using linux's ip_conntrack kernel module","fork":false,"url":"https://api.github.com/repos/typetypetype/conntrack","forks_url":"https://api.github.com/repos/typetypetype/conntrack/forks","keys_url":"https://api.github.com/repos/typetypetype/conntrack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/typetypetype/conntrack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/typetypetype/conntrack/teams","hooks_url":"https://api.github.com/repos/typetypetype/conntrack/hooks","issue_events_url":"https://api.github.com/repos/typetypetype/conntrack/issues/events{/number}","events_url":"https://api.github.com/repos/typetypetype/conntrack/events","assignees_url":"https://api.github.com/repos/typetypetype/conntrack/assignees{/user}","branches_url":"https://api.github.com/repos/typetypetype/conntrack/branches{/branch}","tags_url":"https://api.github.com/repos/typetypetype/conntrack/tags","blobs_url":"https://api.github.com/repos/typetypetype/conntrack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/typetypetype/conntrack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/typetypetype/conntrack/git/refs{/sha}","trees_url":"https://api.github.com/repos/typetypetype/conntrack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/typetypetype/conntrack/statuses/{sha}","languages_url":"https://api.github.com/repos/typetypetype/conntrack/languages","stargazers_url":"https://api.github.com/repos/typetypetype/conntrack/stargazers","contributors_url":"https://api.github.com/repos/typetypetype/conntrack/contributors","subscribers_url":"https://api.github.com/repos/typetypetype/conntrack/subscribers","subscription_url":"https://api.github.com/repos/typetypetype/conntrack/subscription","commits_url":"https://api.github.com/repos/typetypetype/conntrack/commits{/sha}","git_commits_url":"https://api.github.com/repos/typetypetype/conntrack/git/commits{/sha}","comments_url":"https://api.github.com/repos/typetypetype/conntrack/comments{/number}","issue_comment_url":"https://api.github.com/repos/typetypetype/conntrack/issues/comments{/number}","contents_url":"https://api.github.com/repos/typetypetype/conntrack/contents/{+path}","compare_url":"https://api.github.com/repos/typetypetype/conntrack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/typetypetype/conntrack/merges","archive_url":"https://api.github.com/repos/typetypetype/conntrack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/typetypetype/conntrack/downloads","issues_url":"https://api.github.com/repos/typetypetype/conntrack/issues{/number}","pulls_url":"https://api.github.com/repos/typetypetype/conntrack/pulls{/number}","milestones_url":"https://api.github.com/repos/typetypetype/conntrack/milestones{/number}","notifications_url":"https://api.github.com/repos/typetypetype/conntrack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/typetypetype/conntrack/labels{/name}","releases_url":"https://api.github.com/repos/typetypetype/conntrack/releases{/id}","deployments_url":"https://api.github.com/repos/typetypetype/conntrack/deployments","created_at":"2015-01-17T21:15:52Z","updated_at":"2018-09-23T19:46:16Z","pushed_at":"2018-08-05T17:11:50Z","git_url":"git://github.com/typetypetype/conntrack.git","ssh_url":"git@github.com:typetypetype/conntrack.git","clone_url":"https://github.com/typetypetype/conntrack.git","svn_url":"https://github.com/typetypetype/conntrack","homepage":"","size":36,"stargazers_count":13,"watchers_count":13,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":9,"open_issues":1,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/typetypetype/conntrack/pulls/15"},"html":{"href":"https://github.com/typetypetype/conntrack/pull/15"},"issue":{"href":"https://api.github.com/repos/typetypetype/conntrack/issues/15"},"comments":{"href":"https://api.github.com/repos/typetypetype/conntrack/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/typetypetype/conntrack/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/typetypetype/conntrack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/typetypetype/conntrack/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/typetypetype/conntrack/statuses/217e76d17461f56dae2e9822787e3b6e3b8baa7d"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":15,"deletions":9,"changed_files":2}}
{"actor":{"display_login":"bboreham"}}