{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/geobuf/issues/28","labels_url":"https://api.github.com/repos/mapbox/geobuf/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/geobuf/issues/28/comments","events_url":"https://api.github.com/repos/mapbox/geobuf/issues/28/events","html_url":"https://github.com/mapbox/geobuf/issues/28","id":51709887,"number":28,"title":"mapbox/pbf as an encoding/decoding alternative?","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":[{"url":"https://api.github.com/repos/mapbox/geobuf/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2014-12-11T16:49:28Z","updated_at":"2015-01-09T17:28:23Z","closed_at":null,"body":"As an alternative to Protobuf.js and protocol-buffers libraries, could we use Konstantin's [pbf](https://github.com/mapbox/pbf)? It's much more low level and without proto reading, but also simpler and gives us more control over encoding and decoding, potentially making it faster."},"comment":{"url":"https://api.github.com/repos/mapbox/geobuf/issues/comments/69367710","html_url":"https://github.com/mapbox/geobuf/issues/28#issuecomment-69367710","issue_url":"https://api.github.com/repos/mapbox/geobuf/issues/28","id":69367710,"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-01-09T17:28:23Z","updated_at":"2015-01-09T17:28:23Z","body":"Encoding is 3 times faster as well — it takes 730ms to encode Idaho sample with the current geobuf and 240ms with the new one, including automatic precision and dimensions detection. For comparison, JSON.stringify of the same GeoJSON takes 625ms."}}