{"action":"created","issue":{"url":"https://api.github.com/repos/kripken/emscripten/issues/4402","repository_url":"https://api.github.com/repos/kripken/emscripten","labels_url":"https://api.github.com/repos/kripken/emscripten/issues/4402/labels{/name}","comments_url":"https://api.github.com/repos/kripken/emscripten/issues/4402/comments","events_url":"https://api.github.com/repos/kripken/emscripten/issues/4402/events","html_url":"https://github.com/kripken/emscripten/issues/4402","id":161035249,"number":4402,"title":"Use TextDecoder to optimize decoding C strings to JS","user":{"login":"kripken","id":173661,"avatar_url":"https://avatars.githubusercontent.com/u/173661?v=3","gravatar_id":"","url":"https://api.github.com/users/kripken","html_url":"https://github.com/kripken","followers_url":"https://api.github.com/users/kripken/followers","following_url":"https://api.github.com/users/kripken/following{/other_user}","gists_url":"https://api.github.com/users/kripken/gists{/gist_id}","starred_url":"https://api.github.com/users/kripken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kripken/subscriptions","organizations_url":"https://api.github.com/users/kripken/orgs","repos_url":"https://api.github.com/users/kripken/repos","events_url":"https://api.github.com/users/kripken/events{/privacy}","received_events_url":"https://api.github.com/users/kripken/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kripken/emscripten/labels/performance","name":"performance","color":"8f45f9"}],"state":"open","locked":false,"assignee":{"login":"juj","id":225351,"avatar_url":"https://avatars.githubusercontent.com/u/225351?v=3","gravatar_id":"","url":"https://api.github.com/users/juj","html_url":"https://github.com/juj","followers_url":"https://api.github.com/users/juj/followers","following_url":"https://api.github.com/users/juj/following{/other_user}","gists_url":"https://api.github.com/users/juj/gists{/gist_id}","starred_url":"https://api.github.com/users/juj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juj/subscriptions","organizations_url":"https://api.github.com/users/juj/orgs","repos_url":"https://api.github.com/users/juj/repos","events_url":"https://api.github.com/users/juj/events{/privacy}","received_events_url":"https://api.github.com/users/juj/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-06-18T17:38:46Z","updated_at":"2016-06-23T17:38:03Z","closed_at":null,"body":"There is a recent API for this,\r\n\r\nhttps://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/decode\r\n\r\nLooks like it's currently in firefox and chrome.\r\n\r\nWe could check if it's present and use it if so, instead of the probably much slower code we have now that does it manually in JS, which is in `Pointer_stringify` in `src/preamble.js` (there is TODO there for this)."},"comment":{"url":"https://api.github.com/repos/kripken/emscripten/issues/comments/228124810","html_url":"https://github.com/kripken/emscripten/issues/4402#issuecomment-228124810","issue_url":"https://api.github.com/repos/kripken/emscripten/issues/4402","id":228124810,"user":{"login":"hackcasual","id":518438,"avatar_url":"https://avatars.githubusercontent.com/u/518438?v=3","gravatar_id":"","url":"https://api.github.com/users/hackcasual","html_url":"https://github.com/hackcasual","followers_url":"https://api.github.com/users/hackcasual/followers","following_url":"https://api.github.com/users/hackcasual/following{/other_user}","gists_url":"https://api.github.com/users/hackcasual/gists{/gist_id}","starred_url":"https://api.github.com/users/hackcasual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackcasual/subscriptions","organizations_url":"https://api.github.com/users/hackcasual/orgs","repos_url":"https://api.github.com/users/hackcasual/repos","events_url":"https://api.github.com/users/hackcasual/events{/privacy}","received_events_url":"https://api.github.com/users/hackcasual/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T17:38:03Z","updated_at":"2016-06-23T17:38:03Z","body":"One possibility for fallback might be https://github.com/coolaj86/TextEncoderLite"}}
{"actor":{"display_login":"hackcasual"}}