{"action":"created","comment":{"url":"https://api.github.com/repos/tgstation/-tg-station/pulls/comments/45004434","id":45004434,"diff_hunk":"@@ -1343,3 +1343,6 @@ B --><-- A\n \t\tc_dist++\r\n \r\n \treturn L\r\n+\r\n+/proc/subtypesof(typepath)\r","path":"code/__HELPERS/unsorted.dm","position":5,"original_position":5,"commit_id":"bd98c044b1caf3446b0af66059539b6a18be2896","original_commit_id":"bd98c044b1caf3446b0af66059539b6a18be2896","user":{"login":"duncathan","id":2979303,"avatar_url":"https://avatars.githubusercontent.com/u/2979303?v=3","gravatar_id":"","url":"https://api.github.com/users/duncathan","html_url":"https://github.com/duncathan","followers_url":"https://api.github.com/users/duncathan/followers","following_url":"https://api.github.com/users/duncathan/following{/other_user}","gists_url":"https://api.github.com/users/duncathan/gists{/gist_id}","starred_url":"https://api.github.com/users/duncathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duncathan/subscriptions","organizations_url":"https://api.github.com/users/duncathan/orgs","repos_url":"https://api.github.com/users/duncathan/repos","events_url":"https://api.github.com/users/duncathan/events{/privacy}","received_events_url":"https://api.github.com/users/duncathan/received_events","type":"User","site_admin":false},"body":"proc call overhead is no joke","created_at":"2015-11-17T00:00:59Z","updated_at":"2015-11-17T00:00:59Z","html_url":"https://github.com/tgstation/-tg-station/pull/13063#discussion_r45004434","pull_request_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/13063","_links":{"self":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/comments/45004434"},"html":{"href":"https://github.com/tgstation/-tg-station/pull/13063#discussion_r45004434"},"pull_request":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/13063"}}},"pull_request":{"url":"https://api.github.com/repos/tgstation/-tg-station/pulls/13063","id":50885313,"html_url":"https://github.com/tgstation/-tg-station/pull/13063","diff_url":"https://github.com/tgstation/-tg-station/pull/13063.diff","patch_url":"https://github.com/tgstation/-tg-station/pull/13063.patch","issue_url":"https://api.github.com/repos/tgstation/-tg-station/issues/13063","number":13063,"state":"open","locked":false,"title":"Adds subtypesof(path)","user":{"login":"Incoming5643","id":4176358,"avatar_url":"https://avatars.githubusercontent.com/u/4176358?v=3","gravatar_id":"","url":"https://api.github.com/users/Incoming5643","html_url":"https://github.com/Incoming5643","followers_url":"https://api.github.com/users/Incoming5643/followers","following_url":"https://api.github.com/users/Incoming5643/following{/other_user}","gists_url":"https://api.github.com/users/Incoming5643/gists{/gist_id}","starred_url":"https://api.github.com/users/Incoming5643/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Incoming5643/subscriptions","organizations_url":"https://api.github.com/users/Incoming5643/orgs","repos_url":"https://api.github.com/users/Incoming5643/repos","events_url":"https://api.github.com/users/Incoming5643/events{/privacy}","received_events_url":"https://api.github.com/users/Incoming5643/received_events","type":"User","site_admin":false},"body":"It's shorthand for typesof(path) - path\r\n\r\nReplaces typesof(path) - path with subtypesof(path) in obvious places. I was a bit conservative, there's probably a few more places that could use this.","created_at":"2015-11-16T23:57:34Z","updated_at":"2015-11-17T00:00:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"823cd4195c6bf792238a6699fc93a60c2022e53d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/13063/commits","review_comments_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/13063/comments","review_comment_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tgstation/-tg-station/issues/13063/comments","statuses_url":"https://api.github.com/repos/tgstation/-tg-station/statuses/bd98c044b1caf3446b0af66059539b6a18be2896","head":{"label":"Incoming5643:subtypesof","ref":"subtypesof","sha":"bd98c044b1caf3446b0af66059539b6a18be2896","user":{"login":"Incoming5643","id":4176358,"avatar_url":"https://avatars.githubusercontent.com/u/4176358?v=3","gravatar_id":"","url":"https://api.github.com/users/Incoming5643","html_url":"https://github.com/Incoming5643","followers_url":"https://api.github.com/users/Incoming5643/followers","following_url":"https://api.github.com/users/Incoming5643/following{/other_user}","gists_url":"https://api.github.com/users/Incoming5643/gists{/gist_id}","starred_url":"https://api.github.com/users/Incoming5643/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Incoming5643/subscriptions","organizations_url":"https://api.github.com/users/Incoming5643/orgs","repos_url":"https://api.github.com/users/Incoming5643/repos","events_url":"https://api.github.com/users/Incoming5643/events{/privacy}","received_events_url":"https://api.github.com/users/Incoming5643/received_events","type":"User","site_admin":false},"repo":{"id":11689768,"name":"-tg-station","full_name":"Incoming5643/-tg-station","owner":{"login":"Incoming5643","id":4176358,"avatar_url":"https://avatars.githubusercontent.com/u/4176358?v=3","gravatar_id":"","url":"https://api.github.com/users/Incoming5643","html_url":"https://github.com/Incoming5643","followers_url":"https://api.github.com/users/Incoming5643/followers","following_url":"https://api.github.com/users/Incoming5643/following{/other_user}","gists_url":"https://api.github.com/users/Incoming5643/gists{/gist_id}","starred_url":"https://api.github.com/users/Incoming5643/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Incoming5643/subscriptions","organizations_url":"https://api.github.com/users/Incoming5643/orgs","repos_url":"https://api.github.com/users/Incoming5643/repos","events_url":"https://api.github.com/users/Incoming5643/events{/privacy}","received_events_url":"https://api.github.com/users/Incoming5643/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Incoming5643/-tg-station","description":"/tg/'s SS13 branch","fork":true,"url":"https://api.github.com/repos/Incoming5643/-tg-station","forks_url":"https://api.github.com/repos/Incoming5643/-tg-station/forks","keys_url":"https://api.github.com/repos/Incoming5643/-tg-station/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Incoming5643/-tg-station/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Incoming5643/-tg-station/teams","hooks_url":"https://api.github.com/repos/Incoming5643/-tg-station/hooks","issue_events_url":"https://api.github.com/repos/Incoming5643/-tg-station/issues/events{/number}","events_url":"https://api.github.com/repos/Incoming5643/-tg-station/events","assignees_url":"https://api.github.com/repos/Incoming5643/-tg-station/assignees{/user}","branches_url":"https://api.github.com/repos/Incoming5643/-tg-station/branches{/branch}","tags_url":"https://api.github.com/repos/Incoming5643/-tg-station/tags","blobs_url":"https://api.github.com/repos/Incoming5643/-tg-station/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Incoming5643/-tg-station/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Incoming5643/-tg-station/git/refs{/sha}","trees_url":"https://api.github.com/repos/Incoming5643/-tg-station/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Incoming5643/-tg-station/statuses/{sha}","languages_url":"https://api.github.com/repos/Incoming5643/-tg-station/languages","stargazers_url":"https://api.github.com/repos/Incoming5643/-tg-station/stargazers","contributors_url":"https://api.github.com/repos/Incoming5643/-tg-station/contributors","subscribers_url":"https://api.github.com/repos/Incoming5643/-tg-station/subscribers","subscription_url":"https://api.github.com/repos/Incoming5643/-tg-station/subscription","commits_url":"https://api.github.com/repos/Incoming5643/-tg-station/commits{/sha}","git_commits_url":"https://api.github.com/repos/Incoming5643/-tg-station/git/commits{/sha}","comments_url":"https://api.github.com/repos/Incoming5643/-tg-station/comments{/number}","issue_comment_url":"https://api.github.com/repos/Incoming5643/-tg-station/issues/comments{/number}","contents_url":"https://api.github.com/repos/Incoming5643/-tg-station/contents/{+path}","compare_url":"https://api.github.com/repos/Incoming5643/-tg-station/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Incoming5643/-tg-station/merges","archive_url":"https://api.github.com/repos/Incoming5643/-tg-station/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Incoming5643/-tg-station/downloads","issues_url":"https://api.github.com/repos/Incoming5643/-tg-station/issues{/number}","pulls_url":"https://api.github.com/repos/Incoming5643/-tg-station/pulls{/number}","milestones_url":"https://api.github.com/repos/Incoming5643/-tg-station/milestones{/number}","notifications_url":"https://api.github.com/repos/Incoming5643/-tg-station/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Incoming5643/-tg-station/labels{/name}","releases_url":"https://api.github.com/repos/Incoming5643/-tg-station/releases{/id}","created_at":"2013-07-26T16:18:28Z","updated_at":"2014-04-22T03:30:34Z","pushed_at":"2015-11-16T23:58:24Z","git_url":"git://github.com/Incoming5643/-tg-station.git","ssh_url":"git@github.com:Incoming5643/-tg-station.git","clone_url":"https://github.com/Incoming5643/-tg-station.git","svn_url":"https://github.com/Incoming5643/-tg-station","homepage":"","size":568540,"stargazers_count":0,"watchers_count":0,"language":"DM","has_issues":false,"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":"tgstation:master","ref":"master","sha":"e351c7e3858b1ef6913ad9115839aba41cd1e0a4","user":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars.githubusercontent.com/u/1363778?v=3","gravatar_id":"","url":"https://api.github.com/users/tgstation","html_url":"https://github.com/tgstation","followers_url":"https://api.github.com/users/tgstation/followers","following_url":"https://api.github.com/users/tgstation/following{/other_user}","gists_url":"https://api.github.com/users/tgstation/gists{/gist_id}","starred_url":"https://api.github.com/users/tgstation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgstation/subscriptions","organizations_url":"https://api.github.com/users/tgstation/orgs","repos_url":"https://api.github.com/users/tgstation/repos","events_url":"https://api.github.com/users/tgstation/events{/privacy}","received_events_url":"https://api.github.com/users/tgstation/received_events","type":"Organization","site_admin":false},"repo":{"id":3234987,"name":"-tg-station","full_name":"tgstation/-tg-station","owner":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars.githubusercontent.com/u/1363778?v=3","gravatar_id":"","url":"https://api.github.com/users/tgstation","html_url":"https://github.com/tgstation","followers_url":"https://api.github.com/users/tgstation/followers","following_url":"https://api.github.com/users/tgstation/following{/other_user}","gists_url":"https://api.github.com/users/tgstation/gists{/gist_id}","starred_url":"https://api.github.com/users/tgstation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgstation/subscriptions","organizations_url":"https://api.github.com/users/tgstation/orgs","repos_url":"https://api.github.com/users/tgstation/repos","events_url":"https://api.github.com/users/tgstation/events{/privacy}","received_events_url":"https://api.github.com/users/tgstation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tgstation/-tg-station","description":"the /tg/station branch of SS13","fork":false,"url":"https://api.github.com/repos/tgstation/-tg-station","forks_url":"https://api.github.com/repos/tgstation/-tg-station/forks","keys_url":"https://api.github.com/repos/tgstation/-tg-station/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgstation/-tg-station/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgstation/-tg-station/teams","hooks_url":"https://api.github.com/repos/tgstation/-tg-station/hooks","issue_events_url":"https://api.github.com/repos/tgstation/-tg-station/issues/events{/number}","events_url":"https://api.github.com/repos/tgstation/-tg-station/events","assignees_url":"https://api.github.com/repos/tgstation/-tg-station/assignees{/user}","branches_url":"https://api.github.com/repos/tgstation/-tg-station/branches{/branch}","tags_url":"https://api.github.com/repos/tgstation/-tg-station/tags","blobs_url":"https://api.github.com/repos/tgstation/-tg-station/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgstation/-tg-station/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgstation/-tg-station/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgstation/-tg-station/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgstation/-tg-station/statuses/{sha}","languages_url":"https://api.github.com/repos/tgstation/-tg-station/languages","stargazers_url":"https://api.github.com/repos/tgstation/-tg-station/stargazers","contributors_url":"https://api.github.com/repos/tgstation/-tg-station/contributors","subscribers_url":"https://api.github.com/repos/tgstation/-tg-station/subscribers","subscription_url":"https://api.github.com/repos/tgstation/-tg-station/subscription","commits_url":"https://api.github.com/repos/tgstation/-tg-station/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgstation/-tg-station/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgstation/-tg-station/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgstation/-tg-station/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgstation/-tg-station/contents/{+path}","compare_url":"https://api.github.com/repos/tgstation/-tg-station/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgstation/-tg-station/merges","archive_url":"https://api.github.com/repos/tgstation/-tg-station/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgstation/-tg-station/downloads","issues_url":"https://api.github.com/repos/tgstation/-tg-station/issues{/number}","pulls_url":"https://api.github.com/repos/tgstation/-tg-station/pulls{/number}","milestones_url":"https://api.github.com/repos/tgstation/-tg-station/milestones{/number}","notifications_url":"https://api.github.com/repos/tgstation/-tg-station/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgstation/-tg-station/labels{/name}","releases_url":"https://api.github.com/repos/tgstation/-tg-station/releases{/id}","created_at":"2012-01-21T17:32:47Z","updated_at":"2015-11-04T13:42:12Z","pushed_at":"2015-11-16T23:58:25Z","git_url":"git://github.com/tgstation/-tg-station.git","ssh_url":"git@github.com:tgstation/-tg-station.git","clone_url":"https://github.com/tgstation/-tg-station.git","svn_url":"https://github.com/tgstation/-tg-station","homepage":"http://www.tgstation13.org/","size":710031,"stargazers_count":245,"watchers_count":245,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":880,"mirror_url":null,"open_issues_count":874,"forks":880,"open_issues":874,"watchers":245,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/13063"},"html":{"href":"https://github.com/tgstation/-tg-station/pull/13063"},"issue":{"href":"https://api.github.com/repos/tgstation/-tg-station/issues/13063"},"comments":{"href":"https://api.github.com/repos/tgstation/-tg-station/issues/13063/comments"},"review_comments":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/13063/comments"},"review_comment":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/13063/commits"},"statuses":{"href":"https://api.github.com/repos/tgstation/-tg-station/statuses/bd98c044b1caf3446b0af66059539b6a18be2896"}}}}