{"action":"created","comment":{"url":"https://api.github.com/repos/styled-components/styled-components/pulls/comments/280220182","pull_request_review_id":232762032,"id":280220182,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI4MDIyMDE4Mg==","diff_hunk":"@@ -2,36 +2,15 @@\n \n import generateAlphabeticName from './generateAlphabeticName';\n \n-function murmurhash(c: string): number {\n-  for (var e = c.length | 0, a = e | 0, d = 0, b; e >= 4; ) {\n-    (b =\n-      (c.charCodeAt(d) & 255) |\n-      ((c.charCodeAt(++d) & 255) << 8) |\n-      ((c.charCodeAt(++d) & 255) << 16) |\n-      ((c.charCodeAt(++d) & 255) << 24)),\n-      (b = 1540483477 * (b & 65535) + (((1540483477 * (b >>> 16)) & 65535) << 16)),\n-      (b ^= b >>> 24),\n-      (b = 1540483477 * (b & 65535) + (((1540483477 * (b >>> 16)) & 65535) << 16)),\n-      (a = (1540483477 * (a & 65535) + (((1540483477 * (a >>> 16)) & 65535) << 16)) ^ b),\n-      (e -= 4),\n-      ++d;\n-  }\n-  switch (e) {\n-    case 3:\n-      a ^= (c.charCodeAt(d + 2) & 255) << 16;\n-    case 2:\n-      a ^= (c.charCodeAt(d + 1) & 255) << 8;\n-    case 1:\n-      (a ^= c.charCodeAt(d) & 255),\n-        (a = 1540483477 * (a & 65535) + (((1540483477 * (a >>> 16)) & 65535) << 16));\n-  }\n-  a ^= a >>> 13;\n-  a = 1540483477 * (a & 65535) + (((1540483477 * (a >>> 16)) & 65535) << 16);\n-  return (a ^ (a >>> 15)) >>> 0;\n-}\n+export const hash = (x: string): number => {\n+  /* prettier-ignore */\n+  for (var h = 5381 | 0, i = 0, l = x.length | 0; i < l; i++)","path":"packages/styled-components/src/utils/hasher.js","position":33,"original_position":33,"commit_id":"b8e4749ce19bc9d2dec39b7ce06123c85bc114bd","original_commit_id":"b8e4749ce19bc9d2dec39b7ce06123c85bc114bd","user":{"login":"probablyup","id":570070,"node_id":"MDQ6VXNlcjU3MDA3MA==","avatar_url":"https://avatars2.githubusercontent.com/u/570070?v=4","gravatar_id":"","url":"https://api.github.com/users/probablyup","html_url":"https://github.com/probablyup","followers_url":"https://api.github.com/users/probablyup/followers","following_url":"https://api.github.com/users/probablyup/following{/other_user}","gists_url":"https://api.github.com/users/probablyup/gists{/gist_id}","starred_url":"https://api.github.com/users/probablyup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/probablyup/subscriptions","organizations_url":"https://api.github.com/users/probablyup/orgs","repos_url":"https://api.github.com/users/probablyup/repos","events_url":"https://api.github.com/users/probablyup/events{/privacy}","received_events_url":"https://api.github.com/users/probablyup/received_events","type":"User","site_admin":false},"body":"what's this one?","created_at":"2019-05-01T21:18:47Z","updated_at":"2019-05-01T21:18:47Z","html_url":"https://github.com/styled-components/styled-components/pull/2524#discussion_r280220182","pull_request_url":"https://api.github.com/repos/styled-components/styled-components/pulls/2524","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/styled-components/styled-components/pulls/comments/280220182"},"html":{"href":"https://github.com/styled-components/styled-components/pull/2524#discussion_r280220182"},"pull_request":{"href":"https://api.github.com/repos/styled-components/styled-components/pulls/2524"}}},"pull_request":{"url":"https://api.github.com/repos/styled-components/styled-components/pulls/2524","id":275154014,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjc1MTU0MDE0","html_url":"https://github.com/styled-components/styled-components/pull/2524","diff_url":"https://github.com/styled-components/styled-components/pull/2524.diff","patch_url":"https://github.com/styled-components/styled-components/pull/2524.patch","issue_url":"https://api.github.com/repos/styled-components/styled-components/issues/2524","number":2524,"state":"open","locked":false,"title":"[WIP] Optimise ComponentStyle name hashes","user":{"login":"kitten","id":2041385,"node_id":"MDQ6VXNlcjIwNDEzODU=","avatar_url":"https://avatars0.githubusercontent.com/u/2041385?v=4","gravatar_id":"","url":"https://api.github.com/users/kitten","html_url":"https://github.com/kitten","followers_url":"https://api.github.com/users/kitten/followers","following_url":"https://api.github.com/users/kitten/following{/other_user}","gists_url":"https://api.github.com/users/kitten/gists{/gist_id}","starred_url":"https://api.github.com/users/kitten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kitten/subscriptions","organizations_url":"https://api.github.com/users/kitten/orgs","repos_url":"https://api.github.com/users/kitten/repos","events_url":"https://api.github.com/users/kitten/events{/privacy}","received_events_url":"https://api.github.com/users/kitten/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-05-01T20:57:44Z","updated_at":"2019-05-01T21:18:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"154d73564bd800733c51aab4e437a7a53503c0b6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1022167581,"node_id":"MDU6TGFiZWwxMDIyMTY3NTgx","url":"https://api.github.com/repos/styled-components/styled-components/labels/canary%20v5","name":"canary v5","color":"054e5e","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/styled-components/styled-components/pulls/2524/commits","review_comments_url":"https://api.github.com/repos/styled-components/styled-components/pulls/2524/comments","review_comment_url":"https://api.github.com/repos/styled-components/styled-components/pulls/comments{/number}","comments_url":"https://api.github.com/repos/styled-components/styled-components/issues/2524/comments","statuses_url":"https://api.github.com/repos/styled-components/styled-components/statuses/b8e4749ce19bc9d2dec39b7ce06123c85bc114bd","head":{"label":"styled-components:experiment/optimise-name-hash","ref":"experiment/optimise-name-hash","sha":"b8e4749ce19bc9d2dec39b7ce06123c85bc114bd","user":{"login":"styled-components","id":20658825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNjU4ODI1","avatar_url":"https://avatars2.githubusercontent.com/u/20658825?v=4","gravatar_id":"","url":"https://api.github.com/users/styled-components","html_url":"https://github.com/styled-components","followers_url":"https://api.github.com/users/styled-components/followers","following_url":"https://api.github.com/users/styled-components/following{/other_user}","gists_url":"https://api.github.com/users/styled-components/gists{/gist_id}","starred_url":"https://api.github.com/users/styled-components/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/styled-components/subscriptions","organizations_url":"https://api.github.com/users/styled-components/orgs","repos_url":"https://api.github.com/users/styled-components/repos","events_url":"https://api.github.com/users/styled-components/events{/privacy}","received_events_url":"https://api.github.com/users/styled-components/received_events","type":"Organization","site_admin":false},"repo":{"id":65794292,"node_id":"MDEwOlJlcG9zaXRvcnk2NTc5NDI5Mg==","name":"styled-components","full_name":"styled-components/styled-components","private":false,"owner":{"login":"styled-components","id":20658825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNjU4ODI1","avatar_url":"https://avatars2.githubusercontent.com/u/20658825?v=4","gravatar_id":"","url":"https://api.github.com/users/styled-components","html_url":"https://github.com/styled-components","followers_url":"https://api.github.com/users/styled-components/followers","following_url":"https://api.github.com/users/styled-components/following{/other_user}","gists_url":"https://api.github.com/users/styled-components/gists{/gist_id}","starred_url":"https://api.github.com/users/styled-components/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/styled-components/subscriptions","organizations_url":"https://api.github.com/users/styled-components/orgs","repos_url":"https://api.github.com/users/styled-components/repos","events_url":"https://api.github.com/users/styled-components/events{/privacy}","received_events_url":"https://api.github.com/users/styled-components/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/styled-components/styled-components","description":"Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅","fork":false,"url":"https://api.github.com/repos/styled-components/styled-components","forks_url":"https://api.github.com/repos/styled-components/styled-components/forks","keys_url":"https://api.github.com/repos/styled-components/styled-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/styled-components/styled-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/styled-components/styled-components/teams","hooks_url":"https://api.github.com/repos/styled-components/styled-components/hooks","issue_events_url":"https://api.github.com/repos/styled-components/styled-components/issues/events{/number}","events_url":"https://api.github.com/repos/styled-components/styled-components/events","assignees_url":"https://api.github.com/repos/styled-components/styled-components/assignees{/user}","branches_url":"https://api.github.com/repos/styled-components/styled-components/branches{/branch}","tags_url":"https://api.github.com/repos/styled-components/styled-components/tags","blobs_url":"https://api.github.com/repos/styled-components/styled-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/styled-components/styled-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/styled-components/styled-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/styled-components/styled-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/styled-components/styled-components/statuses/{sha}","languages_url":"https://api.github.com/repos/styled-components/styled-components/languages","stargazers_url":"https://api.github.com/repos/styled-components/styled-components/stargazers","contributors_url":"https://api.github.com/repos/styled-components/styled-components/contributors","subscribers_url":"https://api.github.com/repos/styled-components/styled-components/subscribers","subscription_url":"https://api.github.com/repos/styled-components/styled-components/subscription","commits_url":"https://api.github.com/repos/styled-components/styled-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/styled-components/styled-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/styled-components/styled-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/styled-components/styled-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/styled-components/styled-components/contents/{+path}","compare_url":"https://api.github.com/repos/styled-components/styled-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/styled-components/styled-components/merges","archive_url":"https://api.github.com/repos/styled-components/styled-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/styled-components/styled-components/downloads","issues_url":"https://api.github.com/repos/styled-components/styled-components/issues{/number}","pulls_url":"https://api.github.com/repos/styled-components/styled-components/pulls{/number}","milestones_url":"https://api.github.com/repos/styled-components/styled-components/milestones{/number}","notifications_url":"https://api.github.com/repos/styled-components/styled-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/styled-components/styled-components/labels{/name}","releases_url":"https://api.github.com/repos/styled-components/styled-components/releases{/id}","deployments_url":"https://api.github.com/repos/styled-components/styled-components/deployments","created_at":"2016-08-16T06:41:32Z","updated_at":"2019-05-01T19:58:13Z","pushed_at":"2019-05-01T20:57:44Z","git_url":"git://github.com/styled-components/styled-components.git","ssh_url":"git@github.com:styled-components/styled-components.git","clone_url":"https://github.com/styled-components/styled-components.git","svn_url":"https://github.com/styled-components/styled-components","homepage":"https://styled-components.com","size":6310,"stargazers_count":23488,"watchers_count":23488,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1395,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":82,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1395,"open_issues":82,"watchers":23488,"default_branch":"master"}},"base":{"label":"styled-components:feat/styled-sheet","ref":"feat/styled-sheet","sha":"bcf3a95a48aac9353be33317a5a23c6589b271d3","user":{"login":"styled-components","id":20658825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNjU4ODI1","avatar_url":"https://avatars2.githubusercontent.com/u/20658825?v=4","gravatar_id":"","url":"https://api.github.com/users/styled-components","html_url":"https://github.com/styled-components","followers_url":"https://api.github.com/users/styled-components/followers","following_url":"https://api.github.com/users/styled-components/following{/other_user}","gists_url":"https://api.github.com/users/styled-components/gists{/gist_id}","starred_url":"https://api.github.com/users/styled-components/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/styled-components/subscriptions","organizations_url":"https://api.github.com/users/styled-components/orgs","repos_url":"https://api.github.com/users/styled-components/repos","events_url":"https://api.github.com/users/styled-components/events{/privacy}","received_events_url":"https://api.github.com/users/styled-components/received_events","type":"Organization","site_admin":false},"repo":{"id":65794292,"node_id":"MDEwOlJlcG9zaXRvcnk2NTc5NDI5Mg==","name":"styled-components","full_name":"styled-components/styled-components","private":false,"owner":{"login":"styled-components","id":20658825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNjU4ODI1","avatar_url":"https://avatars2.githubusercontent.com/u/20658825?v=4","gravatar_id":"","url":"https://api.github.com/users/styled-components","html_url":"https://github.com/styled-components","followers_url":"https://api.github.com/users/styled-components/followers","following_url":"https://api.github.com/users/styled-components/following{/other_user}","gists_url":"https://api.github.com/users/styled-components/gists{/gist_id}","starred_url":"https://api.github.com/users/styled-components/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/styled-components/subscriptions","organizations_url":"https://api.github.com/users/styled-components/orgs","repos_url":"https://api.github.com/users/styled-components/repos","events_url":"https://api.github.com/users/styled-components/events{/privacy}","received_events_url":"https://api.github.com/users/styled-components/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/styled-components/styled-components","description":"Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅","fork":false,"url":"https://api.github.com/repos/styled-components/styled-components","forks_url":"https://api.github.com/repos/styled-components/styled-components/forks","keys_url":"https://api.github.com/repos/styled-components/styled-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/styled-components/styled-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/styled-components/styled-components/teams","hooks_url":"https://api.github.com/repos/styled-components/styled-components/hooks","issue_events_url":"https://api.github.com/repos/styled-components/styled-components/issues/events{/number}","events_url":"https://api.github.com/repos/styled-components/styled-components/events","assignees_url":"https://api.github.com/repos/styled-components/styled-components/assignees{/user}","branches_url":"https://api.github.com/repos/styled-components/styled-components/branches{/branch}","tags_url":"https://api.github.com/repos/styled-components/styled-components/tags","blobs_url":"https://api.github.com/repos/styled-components/styled-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/styled-components/styled-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/styled-components/styled-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/styled-components/styled-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/styled-components/styled-components/statuses/{sha}","languages_url":"https://api.github.com/repos/styled-components/styled-components/languages","stargazers_url":"https://api.github.com/repos/styled-components/styled-components/stargazers","contributors_url":"https://api.github.com/repos/styled-components/styled-components/contributors","subscribers_url":"https://api.github.com/repos/styled-components/styled-components/subscribers","subscription_url":"https://api.github.com/repos/styled-components/styled-components/subscription","commits_url":"https://api.github.com/repos/styled-components/styled-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/styled-components/styled-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/styled-components/styled-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/styled-components/styled-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/styled-components/styled-components/contents/{+path}","compare_url":"https://api.github.com/repos/styled-components/styled-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/styled-components/styled-components/merges","archive_url":"https://api.github.com/repos/styled-components/styled-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/styled-components/styled-components/downloads","issues_url":"https://api.github.com/repos/styled-components/styled-components/issues{/number}","pulls_url":"https://api.github.com/repos/styled-components/styled-components/pulls{/number}","milestones_url":"https://api.github.com/repos/styled-components/styled-components/milestones{/number}","notifications_url":"https://api.github.com/repos/styled-components/styled-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/styled-components/styled-components/labels{/name}","releases_url":"https://api.github.com/repos/styled-components/styled-components/releases{/id}","deployments_url":"https://api.github.com/repos/styled-components/styled-components/deployments","created_at":"2016-08-16T06:41:32Z","updated_at":"2019-05-01T19:58:13Z","pushed_at":"2019-05-01T20:57:44Z","git_url":"git://github.com/styled-components/styled-components.git","ssh_url":"git@github.com:styled-components/styled-components.git","clone_url":"https://github.com/styled-components/styled-components.git","svn_url":"https://github.com/styled-components/styled-components","homepage":"https://styled-components.com","size":6310,"stargazers_count":23488,"watchers_count":23488,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1395,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":82,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1395,"open_issues":82,"watchers":23488,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/styled-components/styled-components/pulls/2524"},"html":{"href":"https://github.com/styled-components/styled-components/pull/2524"},"issue":{"href":"https://api.github.com/repos/styled-components/styled-components/issues/2524"},"comments":{"href":"https://api.github.com/repos/styled-components/styled-components/issues/2524/comments"},"review_comments":{"href":"https://api.github.com/repos/styled-components/styled-components/pulls/2524/comments"},"review_comment":{"href":"https://api.github.com/repos/styled-components/styled-components/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/styled-components/styled-components/pulls/2524/commits"},"statuses":{"href":"https://api.github.com/repos/styled-components/styled-components/statuses/b8e4749ce19bc9d2dec39b7ce06123c85bc114bd"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"probablyup"}}