{"action":"closed","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/7012","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-js","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/7012/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/7012/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/7012/events","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/7012","id":343744541,"node_id":"MDU6SXNzdWUzNDM3NDQ1NDE=","number":7012,"title":"Don't serialize SymbolFeature as part of SymbolInstance","user":{"login":"ChrisLoer","id":375121,"node_id":"MDQ6VXNlcjM3NTEyMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/375121?v=4","gravatar_id":"","url":"https://api.github.com/users/ChrisLoer","html_url":"https://github.com/ChrisLoer","followers_url":"https://api.github.com/users/ChrisLoer/followers","following_url":"https://api.github.com/users/ChrisLoer/following{/other_user}","gists_url":"https://api.github.com/users/ChrisLoer/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisLoer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisLoer/subscriptions","organizations_url":"https://api.github.com/users/ChrisLoer/orgs","repos_url":"https://api.github.com/users/ChrisLoer/repos","events_url":"https://api.github.com/users/ChrisLoer/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisLoer/received_events","type":"User","site_admin":false},"labels":[{"id":60482003,"node_id":"MDU6TGFiZWw2MDQ4MjAwMw==","url":"https://api.github.com/repos/mapbox/mapbox-gl-js/labels/performance%20:zap:","name":"performance :zap:","color":"c5def5","default":false}],"state":"closed","locked":false,"assignee":{"login":"ChrisLoer","id":375121,"node_id":"MDQ6VXNlcjM3NTEyMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/375121?v=4","gravatar_id":"","url":"https://api.github.com/users/ChrisLoer","html_url":"https://github.com/ChrisLoer","followers_url":"https://api.github.com/users/ChrisLoer/followers","following_url":"https://api.github.com/users/ChrisLoer/following{/other_user}","gists_url":"https://api.github.com/users/ChrisLoer/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisLoer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisLoer/subscriptions","organizations_url":"https://api.github.com/users/ChrisLoer/orgs","repos_url":"https://api.github.com/users/ChrisLoer/repos","events_url":"https://api.github.com/users/ChrisLoer/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisLoer/received_events","type":"User","site_admin":false},"assignees":[{"login":"ChrisLoer","id":375121,"node_id":"MDQ6VXNlcjM3NTEyMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/375121?v=4","gravatar_id":"","url":"https://api.github.com/users/ChrisLoer","html_url":"https://github.com/ChrisLoer","followers_url":"https://api.github.com/users/ChrisLoer/followers","following_url":"https://api.github.com/users/ChrisLoer/following{/other_user}","gists_url":"https://api.github.com/users/ChrisLoer/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisLoer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisLoer/subscriptions","organizations_url":"https://api.github.com/users/ChrisLoer/orgs","repos_url":"https://api.github.com/users/ChrisLoer/repos","events_url":"https://api.github.com/users/ChrisLoer/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisLoer/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-07-23T18:28:26Z","updated_at":"2018-07-23T19:51:13Z","closed_at":"2018-07-23T19:51:13Z","author_association":"CONTRIBUTOR","body":"When we transfer a symbol bucket from the workers to the foreground, we include a copy of the source feature for each `SymbolInstance` we generate:\r\n\r\nhttps://github.com/mapbox/mapbox-gl-js/blob/83b147b0f08365a588cd393dc007978793a3e565/src/data/bucket/symbol_bucket.js#L76-L77\r\n\r\nThese features are bulky and expensive to transfer, and as far as I know they're unused on the foreground. If we need access to the source feature on the foreground, we can use the \"feature index\" to look the feature up directly in the source data for the tile.\r\n\r\n/cc @anandthakker @ansis @mourner "}}
{"actor":{"display_login":"ChrisLoer"}}