{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/flow/issues/2153","repository_url":"https://api.github.com/repos/facebook/flow","labels_url":"https://api.github.com/repos/facebook/flow/issues/2153/labels{/name}","comments_url":"https://api.github.com/repos/facebook/flow/issues/2153/comments","events_url":"https://api.github.com/repos/facebook/flow/issues/2153/events","html_url":"https://github.com/facebook/flow/issues/2153","id":168129743,"number":2153,"title":"Possible performance issue with discriminated unions in flow 0.28.0","user":{"login":"kastermester","id":1655245,"avatar_url":"https://avatars.githubusercontent.com/u/1655245?v=3","gravatar_id":"","url":"https://api.github.com/users/kastermester","html_url":"https://github.com/kastermester","followers_url":"https://api.github.com/users/kastermester/followers","following_url":"https://api.github.com/users/kastermester/following{/other_user}","gists_url":"https://api.github.com/users/kastermester/gists{/gist_id}","starred_url":"https://api.github.com/users/kastermester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kastermester/subscriptions","organizations_url":"https://api.github.com/users/kastermester/orgs","repos_url":"https://api.github.com/users/kastermester/repos","events_url":"https://api.github.com/users/kastermester/events{/privacy}","received_events_url":"https://api.github.com/users/kastermester/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/flow/labels/nontermination%20/%20perf","name":"nontermination / perf","color":"c5def5"}],"state":"open","locked":false,"assignee":{"login":"avikchaudhuri","id":5328177,"avatar_url":"https://avatars.githubusercontent.com/u/5328177?v=3","gravatar_id":"","url":"https://api.github.com/users/avikchaudhuri","html_url":"https://github.com/avikchaudhuri","followers_url":"https://api.github.com/users/avikchaudhuri/followers","following_url":"https://api.github.com/users/avikchaudhuri/following{/other_user}","gists_url":"https://api.github.com/users/avikchaudhuri/gists{/gist_id}","starred_url":"https://api.github.com/users/avikchaudhuri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avikchaudhuri/subscriptions","organizations_url":"https://api.github.com/users/avikchaudhuri/orgs","repos_url":"https://api.github.com/users/avikchaudhuri/repos","events_url":"https://api.github.com/users/avikchaudhuri/events{/privacy}","received_events_url":"https://api.github.com/users/avikchaudhuri/received_events","type":"User","site_admin":false},"assignees":[{"login":"avikchaudhuri","id":5328177,"avatar_url":"https://avatars.githubusercontent.com/u/5328177?v=3","gravatar_id":"","url":"https://api.github.com/users/avikchaudhuri","html_url":"https://github.com/avikchaudhuri","followers_url":"https://api.github.com/users/avikchaudhuri/followers","following_url":"https://api.github.com/users/avikchaudhuri/following{/other_user}","gists_url":"https://api.github.com/users/avikchaudhuri/gists{/gist_id}","starred_url":"https://api.github.com/users/avikchaudhuri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avikchaudhuri/subscriptions","organizations_url":"https://api.github.com/users/avikchaudhuri/orgs","repos_url":"https://api.github.com/users/avikchaudhuri/repos","events_url":"https://api.github.com/users/avikchaudhuri/events{/privacy}","received_events_url":"https://api.github.com/users/avikchaudhuri/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2016-07-28T15:47:21Z","updated_at":"2016-08-19T08:36:27Z","closed_at":null,"body":"See this repo:\r\n\r\nhttps://github.com/kastermester/flow-discriminated-unions-issue\r\n\r\nIt is a small code extraction from a library I'm in the process of writing. It has been a pleasure working with flow on that library, but for some reason it starts to have issues with the discriminated unions performance wise - everything is resolved as it should be, no false positives or missing negatives.\r\n\r\nThe problem is most clearly seen when working in nuclide, where every autocompletion help and etc suddenly disappears."},"comment":{"url":"https://api.github.com/repos/facebook/flow/issues/comments/240960952","html_url":"https://github.com/facebook/flow/issues/2153#issuecomment-240960952","issue_url":"https://api.github.com/repos/facebook/flow/issues/2153","id":240960952,"user":{"login":"kastermester","id":1655245,"avatar_url":"https://avatars.githubusercontent.com/u/1655245?v=3","gravatar_id":"","url":"https://api.github.com/users/kastermester","html_url":"https://github.com/kastermester","followers_url":"https://api.github.com/users/kastermester/followers","following_url":"https://api.github.com/users/kastermester/following{/other_user}","gists_url":"https://api.github.com/users/kastermester/gists{/gist_id}","starred_url":"https://api.github.com/users/kastermester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kastermester/subscriptions","organizations_url":"https://api.github.com/users/kastermester/orgs","repos_url":"https://api.github.com/users/kastermester/repos","events_url":"https://api.github.com/users/kastermester/events{/privacy}","received_events_url":"https://api.github.com/users/kastermester/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T08:36:27Z","updated_at":"2016-08-19T08:36:27Z","body":"Thanks! Again I'll be happy to test possible fixes once you get that far :)"}}
{"actor":{"display_login":"kastermester"}}