{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1147","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1147/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1147/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1147/events","html_url":"https://github.com/mapbox/mapbox-gl-js/pull/1147","id":67220452,"number":1147,"title":"switch to unpacked representation of tile id","user":{"login":"ansis","id":1421652,"avatar_url":"https://avatars.githubusercontent.com/u/1421652?v=3","gravatar_id":"","url":"https://api.github.com/users/ansis","html_url":"https://github.com/ansis","followers_url":"https://api.github.com/users/ansis/followers","following_url":"https://api.github.com/users/ansis/following{/other_user}","gists_url":"https://api.github.com/users/ansis/gists{/gist_id}","starred_url":"https://api.github.com/users/ansis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansis/subscriptions","organizations_url":"https://api.github.com/users/ansis/orgs","repos_url":"https://api.github.com/users/ansis/repos","events_url":"https://api.github.com/users/ansis/events{/privacy}","received_events_url":"https://api.github.com/users/ansis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-08T21:07:08Z","updated_at":"2015-04-08T22:31:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/pulls/1147","html_url":"https://github.com/mapbox/mapbox-gl-js/pull/1147","diff_url":"https://github.com/mapbox/mapbox-gl-js/pull/1147.diff","patch_url":"https://github.com/mapbox/mapbox-gl-js/pull/1147.patch"},"body":"The standard representation of a tile id used to be a number with x, y, z, and w packed into it. It was being constantly unpacked to get at the individual components.\r\n\r\nThis switches from the packed representation to just an object. The packed representation is now only used as a key to index the tile.\r\n\r\nThis is also more similar to -native.\r\n\r\nThe main changes are here: https://github.com/mapbox/mapbox-gl-js/blob/0d828f7be984f5e9e86ee8dbd47006ffe50d9891/js/source/tile_id.js\r\n\r\n@jfirebaugh "},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/comments/91055237","html_url":"https://github.com/mapbox/mapbox-gl-js/pull/1147#issuecomment-91055237","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1147","id":91055237,"user":{"login":"jfirebaugh","id":98601,"avatar_url":"https://avatars.githubusercontent.com/u/98601?v=3","gravatar_id":"","url":"https://api.github.com/users/jfirebaugh","html_url":"https://github.com/jfirebaugh","followers_url":"https://api.github.com/users/jfirebaugh/followers","following_url":"https://api.github.com/users/jfirebaugh/following{/other_user}","gists_url":"https://api.github.com/users/jfirebaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/jfirebaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfirebaugh/subscriptions","organizations_url":"https://api.github.com/users/jfirebaugh/orgs","repos_url":"https://api.github.com/users/jfirebaugh/repos","events_url":"https://api.github.com/users/jfirebaugh/events{/privacy}","received_events_url":"https://api.github.com/users/jfirebaugh/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T22:31:07Z","updated_at":"2015-04-08T22:31:07Z","body":"Definite :+1: aesthetically. @mourner, were there any performance reasons for using the packed representation ubiquitously?"}}