{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/earcut/issues/5","labels_url":"https://api.github.com/repos/mapbox/earcut/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/earcut/issues/5/comments","events_url":"https://api.github.com/repos/mapbox/earcut/issues/5/events","html_url":"https://github.com/mapbox/earcut/pull/5","id":55147936,"number":5,"title":"Indexed vertices API","user":{"login":"mourner","id":25395,"avatar_url":"https://avatars.githubusercontent.com/u/25395?v=3","gravatar_id":"","url":"https://api.github.com/users/mourner","html_url":"https://github.com/mourner","followers_url":"https://api.github.com/users/mourner/followers","following_url":"https://api.github.com/users/mourner/following{/other_user}","gists_url":"https://api.github.com/users/mourner/gists{/gist_id}","starred_url":"https://api.github.com/users/mourner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mourner/subscriptions","organizations_url":"https://api.github.com/users/mourner/orgs","repos_url":"https://api.github.com/users/mourner/repos","events_url":"https://api.github.com/users/mourner/events{/privacy}","received_events_url":"https://api.github.com/users/mourner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-22T12:33:09Z","updated_at":"2015-02-18T21:19:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mapbox/earcut/pulls/5","html_url":"https://github.com/mapbox/earcut/pull/5","diff_url":"https://github.com/mapbox/earcut/pull/5.diff","patch_url":"https://github.com/mapbox/earcut/pull/5.patch"},"body":"Changes the API to return indexed vertices. Closes #4. \r\n\r\nWe need to evaluate the approach in the real world first before making a change like this because it comes with a performance cost of ~15-20%.\r\n\r\nThis also breaks the 3D vertices use cases, we need to think about it API-wise."},"comment":{"url":"https://api.github.com/repos/mapbox/earcut/issues/comments/74949995","html_url":"https://github.com/mapbox/earcut/pull/5#issuecomment-74949995","issue_url":"https://api.github.com/repos/mapbox/earcut/issues/5","id":74949995,"user":{"login":"mourner","id":25395,"avatar_url":"https://avatars.githubusercontent.com/u/25395?v=3","gravatar_id":"","url":"https://api.github.com/users/mourner","html_url":"https://github.com/mourner","followers_url":"https://api.github.com/users/mourner/followers","following_url":"https://api.github.com/users/mourner/following{/other_user}","gists_url":"https://api.github.com/users/mourner/gists{/gist_id}","starred_url":"https://api.github.com/users/mourner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mourner/subscriptions","organizations_url":"https://api.github.com/users/mourner/orgs","repos_url":"https://api.github.com/users/mourner/repos","events_url":"https://api.github.com/users/mourner/events{/privacy}","received_events_url":"https://api.github.com/users/mourner/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T21:19:09Z","updated_at":"2015-02-18T21:19:09Z","body":"@kkaefer OK, I'll look if this can be merged to master in a way that doesn't degrade performance (e.g. making it optional)."}}