{"action":"created","issue":{"url":"https://api.github.com/repos/tgstation/tgstation/issues/19981","repository_url":"https://api.github.com/repos/tgstation/tgstation","labels_url":"https://api.github.com/repos/tgstation/tgstation/issues/19981/labels{/name}","comments_url":"https://api.github.com/repos/tgstation/tgstation/issues/19981/comments","events_url":"https://api.github.com/repos/tgstation/tgstation/issues/19981/events","html_url":"https://github.com/tgstation/tgstation/pull/19981","id":172270919,"number":19981,"title":"Makes ListTargets() much much faster.","user":{"login":"MrStonedOne","id":7069733,"avatar_url":"https://avatars.githubusercontent.com/u/7069733?v=3","gravatar_id":"","url":"https://api.github.com/users/MrStonedOne","html_url":"https://github.com/MrStonedOne","followers_url":"https://api.github.com/users/MrStonedOne/followers","following_url":"https://api.github.com/users/MrStonedOne/following{/other_user}","gists_url":"https://api.github.com/users/MrStonedOne/gists{/gist_id}","starred_url":"https://api.github.com/users/MrStonedOne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrStonedOne/subscriptions","organizations_url":"https://api.github.com/users/MrStonedOne/orgs","repos_url":"https://api.github.com/users/MrStonedOne/repos","events_url":"https://api.github.com/users/MrStonedOne/events{/privacy}","received_events_url":"https://api.github.com/users/MrStonedOne/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tgstation/tgstation/labels/Performance","name":"Performance","color":"0b02e1"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-20T13:24:13Z","updated_at":"2016-08-20T19:52:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tgstation/tgstation/pulls/19981","html_url":"https://github.com/tgstation/tgstation/pull/19981","diff_url":"https://github.com/tgstation/tgstation/pull/19981.diff","patch_url":"https://github.com/tgstation/tgstation/pull/19981.patch"},"body":"fixes #19855\r\nprofiles: (A is original, the rest are various variations I thought up)\r\n\r\n````\r\n/mob/living/simple_animal/hostile/proc/ListTargetsG    42.008      118.524      118.559       195594\r\n/mob/living/simple_animal/hostile/proc/ListTargetsF    27.078       42.788       42.813       195267\r\n/mob/living/simple_animal/hostile/proc/ListTargetsE    32.423       48.520       48.540       195401\r\n/mob/living/simple_animal/hostile/proc/ListTargetsD    46.633      118.919      118.938       195455\r\n/mob/living/simple_animal/hostile/proc/ListTargetsC    63.589       90.622       90.646       195630\r\n/mob/living/simple_animal/hostile/proc/ListTargetsB    62.156       88.851       88.880       195159\r\n/mob/living/simple_animal/hostile/proc/ListTargetsA   382.978      383.049      383.087       195578\r\n/mob/living/simple_animal/hostile/proc/ListTargets      4.748      895.996      896.142      1368084\r\n````\r\ni went with E because F had a few edge cases that weren't handled correctly."},"comment":{"url":"https://api.github.com/repos/tgstation/tgstation/issues/comments/241220225","html_url":"https://github.com/tgstation/tgstation/pull/19981#issuecomment-241220225","issue_url":"https://api.github.com/repos/tgstation/tgstation/issues/19981","id":241220225,"user":{"login":"xxalpha","id":4951579,"avatar_url":"https://avatars.githubusercontent.com/u/4951579?v=3","gravatar_id":"","url":"https://api.github.com/users/xxalpha","html_url":"https://github.com/xxalpha","followers_url":"https://api.github.com/users/xxalpha/followers","following_url":"https://api.github.com/users/xxalpha/following{/other_user}","gists_url":"https://api.github.com/users/xxalpha/gists{/gist_id}","starred_url":"https://api.github.com/users/xxalpha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xxalpha/subscriptions","organizations_url":"https://api.github.com/users/xxalpha/orgs","repos_url":"https://api.github.com/users/xxalpha/repos","events_url":"https://api.github.com/users/xxalpha/events{/privacy}","received_events_url":"https://api.github.com/users/xxalpha/received_events","type":"User","site_admin":false},"created_at":"2016-08-20T19:52:23Z","updated_at":"2016-08-20T19:52:23Z","body":":dash:"}}
{"actor":{"display_login":"xxalpha"}}