{"action":"closed","number":46,"pull_request":{"url":"https://api.github.com/repos/hello-rust/show/pulls/46","id":212607731,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyNjA3NzMx","html_url":"https://github.com/hello-rust/show/pull/46","diff_url":"https://github.com/hello-rust/show/pull/46.diff","patch_url":"https://github.com/hello-rust/show/pull/46.patch","issue_url":"https://api.github.com/repos/hello-rust/show/issues/46","number":46,"state":"closed","locked":false,"title":"Added worker version for Go","user":{"login":"euantorano","id":748913,"node_id":"MDQ6VXNlcjc0ODkxMw==","avatar_url":"https://avatars1.githubusercontent.com/u/748913?v=4","gravatar_id":"","url":"https://api.github.com/users/euantorano","html_url":"https://github.com/euantorano","followers_url":"https://api.github.com/users/euantorano/followers","following_url":"https://api.github.com/users/euantorano/following{/other_user}","gists_url":"https://api.github.com/users/euantorano/gists{/gist_id}","starred_url":"https://api.github.com/users/euantorano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/euantorano/subscriptions","organizations_url":"https://api.github.com/users/euantorano/orgs","repos_url":"https://api.github.com/users/euantorano/repos","events_url":"https://api.github.com/users/euantorano/events{/privacy}","received_events_url":"https://api.github.com/users/euantorano/received_events","type":"User","site_admin":false},"body":"This adds a slightly modified version of the Go program for episode 9 which uses a worker pool and only creates as many goroutines as there are logical threads on the system.\r\n\r\nThe Rust version seems to act similarly - Rayon will only start one thread per CPU for the `par_iter()` as far as I understand it.\r\n\r\nI haven't done any benchmarking to compare times between this and the `fixed.go` version, but thought it might be nice to see another approach to the problem, similar to #45.","created_at":"2018-09-02T19:25:28Z","updated_at":"2018-09-05T20:18:51Z","closed_at":"2018-09-05T20:18:51Z","merged_at":"2018-09-05T20:18:51Z","merge_commit_sha":"6ef085289f8c527da92893652aee5483bf69df2c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hello-rust/show/pulls/46/commits","review_comments_url":"https://api.github.com/repos/hello-rust/show/pulls/46/comments","review_comment_url":"https://api.github.com/repos/hello-rust/show/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hello-rust/show/issues/46/comments","statuses_url":"https://api.github.com/repos/hello-rust/show/statuses/7e2cd5b98455a29c7d9580778feca25211f8c6d8","head":{"label":"euantorano:episode-9-alternative-go-version","ref":"episode-9-alternative-go-version","sha":"7e2cd5b98455a29c7d9580778feca25211f8c6d8","user":{"login":"euantorano","id":748913,"node_id":"MDQ6VXNlcjc0ODkxMw==","avatar_url":"https://avatars1.githubusercontent.com/u/748913?v=4","gravatar_id":"","url":"https://api.github.com/users/euantorano","html_url":"https://github.com/euantorano","followers_url":"https://api.github.com/users/euantorano/followers","following_url":"https://api.github.com/users/euantorano/following{/other_user}","gists_url":"https://api.github.com/users/euantorano/gists{/gist_id}","starred_url":"https://api.github.com/users/euantorano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/euantorano/subscriptions","organizations_url":"https://api.github.com/users/euantorano/orgs","repos_url":"https://api.github.com/users/euantorano/repos","events_url":"https://api.github.com/users/euantorano/events{/privacy}","received_events_url":"https://api.github.com/users/euantorano/received_events","type":"User","site_admin":false},"repo":{"id":147112412,"node_id":"MDEwOlJlcG9zaXRvcnkxNDcxMTI0MTI=","name":"show","full_name":"euantorano/show","owner":{"login":"euantorano","id":748913,"node_id":"MDQ6VXNlcjc0ODkxMw==","avatar_url":"https://avatars1.githubusercontent.com/u/748913?v=4","gravatar_id":"","url":"https://api.github.com/users/euantorano","html_url":"https://github.com/euantorano","followers_url":"https://api.github.com/users/euantorano/followers","following_url":"https://api.github.com/users/euantorano/following{/other_user}","gists_url":"https://api.github.com/users/euantorano/gists{/gist_id}","starred_url":"https://api.github.com/users/euantorano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/euantorano/subscriptions","organizations_url":"https://api.github.com/users/euantorano/orgs","repos_url":"https://api.github.com/users/euantorano/repos","events_url":"https://api.github.com/users/euantorano/events{/privacy}","received_events_url":"https://api.github.com/users/euantorano/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/euantorano/show","description":"Show notes, code, and ideas for future topics for \"Hello Rust!\", a YouTube channel about the Rust programming language.","fork":true,"url":"https://api.github.com/repos/euantorano/show","forks_url":"https://api.github.com/repos/euantorano/show/forks","keys_url":"https://api.github.com/repos/euantorano/show/keys{/key_id}","collaborators_url":"https://api.github.com/repos/euantorano/show/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/euantorano/show/teams","hooks_url":"https://api.github.com/repos/euantorano/show/hooks","issue_events_url":"https://api.github.com/repos/euantorano/show/issues/events{/number}","events_url":"https://api.github.com/repos/euantorano/show/events","assignees_url":"https://api.github.com/repos/euantorano/show/assignees{/user}","branches_url":"https://api.github.com/repos/euantorano/show/branches{/branch}","tags_url":"https://api.github.com/repos/euantorano/show/tags","blobs_url":"https://api.github.com/repos/euantorano/show/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/euantorano/show/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/euantorano/show/git/refs{/sha}","trees_url":"https://api.github.com/repos/euantorano/show/git/trees{/sha}","statuses_url":"https://api.github.com/repos/euantorano/show/statuses/{sha}","languages_url":"https://api.github.com/repos/euantorano/show/languages","stargazers_url":"https://api.github.com/repos/euantorano/show/stargazers","contributors_url":"https://api.github.com/repos/euantorano/show/contributors","subscribers_url":"https://api.github.com/repos/euantorano/show/subscribers","subscription_url":"https://api.github.com/repos/euantorano/show/subscription","commits_url":"https://api.github.com/repos/euantorano/show/commits{/sha}","git_commits_url":"https://api.github.com/repos/euantorano/show/git/commits{/sha}","comments_url":"https://api.github.com/repos/euantorano/show/comments{/number}","issue_comment_url":"https://api.github.com/repos/euantorano/show/issues/comments{/number}","contents_url":"https://api.github.com/repos/euantorano/show/contents/{+path}","compare_url":"https://api.github.com/repos/euantorano/show/compare/{base}...{head}","merges_url":"https://api.github.com/repos/euantorano/show/merges","archive_url":"https://api.github.com/repos/euantorano/show/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/euantorano/show/downloads","issues_url":"https://api.github.com/repos/euantorano/show/issues{/number}","pulls_url":"https://api.github.com/repos/euantorano/show/pulls{/number}","milestones_url":"https://api.github.com/repos/euantorano/show/milestones{/number}","notifications_url":"https://api.github.com/repos/euantorano/show/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/euantorano/show/labels{/name}","releases_url":"https://api.github.com/repos/euantorano/show/releases{/id}","deployments_url":"https://api.github.com/repos/euantorano/show/deployments","created_at":"2018-09-02T18:46:13Z","updated_at":"2018-09-02T18:46:16Z","pushed_at":"2018-09-05T19:45:51Z","git_url":"git://github.com/euantorano/show.git","ssh_url":"git@github.com:euantorano/show.git","clone_url":"https://github.com/euantorano/show.git","svn_url":"https://github.com/euantorano/show","homepage":"https://hello-rust.show","size":11671,"stargazers_count":0,"watchers_count":0,"language":"Rust","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hello-rust:master","ref":"master","sha":"d1f73f9891df1e6e103dbfdc2150a890e32b101e","user":{"login":"hello-rust","id":36301855,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MzAxODU1","avatar_url":"https://avatars2.githubusercontent.com/u/36301855?v=4","gravatar_id":"","url":"https://api.github.com/users/hello-rust","html_url":"https://github.com/hello-rust","followers_url":"https://api.github.com/users/hello-rust/followers","following_url":"https://api.github.com/users/hello-rust/following{/other_user}","gists_url":"https://api.github.com/users/hello-rust/gists{/gist_id}","starred_url":"https://api.github.com/users/hello-rust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hello-rust/subscriptions","organizations_url":"https://api.github.com/users/hello-rust/orgs","repos_url":"https://api.github.com/users/hello-rust/repos","events_url":"https://api.github.com/users/hello-rust/events{/privacy}","received_events_url":"https://api.github.com/users/hello-rust/received_events","type":"Organization","site_admin":false},"repo":{"id":120595947,"node_id":"MDEwOlJlcG9zaXRvcnkxMjA1OTU5NDc=","name":"show","full_name":"hello-rust/show","owner":{"login":"hello-rust","id":36301855,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MzAxODU1","avatar_url":"https://avatars2.githubusercontent.com/u/36301855?v=4","gravatar_id":"","url":"https://api.github.com/users/hello-rust","html_url":"https://github.com/hello-rust","followers_url":"https://api.github.com/users/hello-rust/followers","following_url":"https://api.github.com/users/hello-rust/following{/other_user}","gists_url":"https://api.github.com/users/hello-rust/gists{/gist_id}","starred_url":"https://api.github.com/users/hello-rust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hello-rust/subscriptions","organizations_url":"https://api.github.com/users/hello-rust/orgs","repos_url":"https://api.github.com/users/hello-rust/repos","events_url":"https://api.github.com/users/hello-rust/events{/privacy}","received_events_url":"https://api.github.com/users/hello-rust/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hello-rust/show","description":"Show notes, code, and ideas for future topics for \"Hello Rust!\", a YouTube channel about the Rust programming language.","fork":false,"url":"https://api.github.com/repos/hello-rust/show","forks_url":"https://api.github.com/repos/hello-rust/show/forks","keys_url":"https://api.github.com/repos/hello-rust/show/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hello-rust/show/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hello-rust/show/teams","hooks_url":"https://api.github.com/repos/hello-rust/show/hooks","issue_events_url":"https://api.github.com/repos/hello-rust/show/issues/events{/number}","events_url":"https://api.github.com/repos/hello-rust/show/events","assignees_url":"https://api.github.com/repos/hello-rust/show/assignees{/user}","branches_url":"https://api.github.com/repos/hello-rust/show/branches{/branch}","tags_url":"https://api.github.com/repos/hello-rust/show/tags","blobs_url":"https://api.github.com/repos/hello-rust/show/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hello-rust/show/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hello-rust/show/git/refs{/sha}","trees_url":"https://api.github.com/repos/hello-rust/show/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hello-rust/show/statuses/{sha}","languages_url":"https://api.github.com/repos/hello-rust/show/languages","stargazers_url":"https://api.github.com/repos/hello-rust/show/stargazers","contributors_url":"https://api.github.com/repos/hello-rust/show/contributors","subscribers_url":"https://api.github.com/repos/hello-rust/show/subscribers","subscription_url":"https://api.github.com/repos/hello-rust/show/subscription","commits_url":"https://api.github.com/repos/hello-rust/show/commits{/sha}","git_commits_url":"https://api.github.com/repos/hello-rust/show/git/commits{/sha}","comments_url":"https://api.github.com/repos/hello-rust/show/comments{/number}","issue_comment_url":"https://api.github.com/repos/hello-rust/show/issues/comments{/number}","contents_url":"https://api.github.com/repos/hello-rust/show/contents/{+path}","compare_url":"https://api.github.com/repos/hello-rust/show/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hello-rust/show/merges","archive_url":"https://api.github.com/repos/hello-rust/show/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hello-rust/show/downloads","issues_url":"https://api.github.com/repos/hello-rust/show/issues{/number}","pulls_url":"https://api.github.com/repos/hello-rust/show/pulls{/number}","milestones_url":"https://api.github.com/repos/hello-rust/show/milestones{/number}","notifications_url":"https://api.github.com/repos/hello-rust/show/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hello-rust/show/labels{/name}","releases_url":"https://api.github.com/repos/hello-rust/show/releases{/id}","deployments_url":"https://api.github.com/repos/hello-rust/show/deployments","created_at":"2018-02-07T09:50:40Z","updated_at":"2018-09-05T14:06:55Z","pushed_at":"2018-09-05T20:18:51Z","git_url":"git://github.com/hello-rust/show.git","ssh_url":"git@github.com:hello-rust/show.git","clone_url":"https://github.com/hello-rust/show.git","svn_url":"https://github.com/hello-rust/show","homepage":"https://hello-rust.show","size":11690,"stargazers_count":143,"watchers_count":143,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":28,"license":null,"forks":10,"open_issues":28,"watchers":143,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hello-rust/show/pulls/46"},"html":{"href":"https://github.com/hello-rust/show/pull/46"},"issue":{"href":"https://api.github.com/repos/hello-rust/show/issues/46"},"comments":{"href":"https://api.github.com/repos/hello-rust/show/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/hello-rust/show/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/hello-rust/show/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hello-rust/show/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/hello-rust/show/statuses/7e2cd5b98455a29c7d9580778feca25211f8c6d8"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"mre","id":175809,"node_id":"MDQ6VXNlcjE3NTgwOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/175809?v=4","gravatar_id":"","url":"https://api.github.com/users/mre","html_url":"https://github.com/mre","followers_url":"https://api.github.com/users/mre/followers","following_url":"https://api.github.com/users/mre/following{/other_user}","gists_url":"https://api.github.com/users/mre/gists{/gist_id}","starred_url":"https://api.github.com/users/mre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mre/subscriptions","organizations_url":"https://api.github.com/users/mre/orgs","repos_url":"https://api.github.com/users/mre/repos","events_url":"https://api.github.com/users/mre/events{/privacy}","received_events_url":"https://api.github.com/users/mre/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":89,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"mre"}}