{"action":"created","issue":{"url":"https://api.github.com/repos/kripken/emscripten/issues/2188","labels_url":"https://api.github.com/repos/kripken/emscripten/issues/2188/labels{/name}","comments_url":"https://api.github.com/repos/kripken/emscripten/issues/2188/comments","events_url":"https://api.github.com/repos/kripken/emscripten/issues/2188/events","html_url":"https://github.com/kripken/emscripten/issues/2188","id":28814652,"number":2188,"title":"More compact memory initialization?","user":{"login":"evanw","id":406394,"avatar_url":"https://avatars.githubusercontent.com/u/406394?v=3","gravatar_id":"","url":"https://api.github.com/users/evanw","html_url":"https://github.com/evanw","followers_url":"https://api.github.com/users/evanw/followers","following_url":"https://api.github.com/users/evanw/following{/other_user}","gists_url":"https://api.github.com/users/evanw/gists{/gist_id}","starred_url":"https://api.github.com/users/evanw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanw/subscriptions","organizations_url":"https://api.github.com/users/evanw/orgs","repos_url":"https://api.github.com/users/evanw/repos","events_url":"https://api.github.com/users/evanw/events{/privacy}","received_events_url":"https://api.github.com/users/evanw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kripken/emscripten/labels/good%20first%20bug","name":"good first bug","color":"02e10c"},{"url":"https://api.github.com/repos/kripken/emscripten/labels/performance","name":"performance","color":"8f45f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":30,"created_at":"2014-03-05T18:47:18Z","updated_at":"2015-04-09T08:04:21Z","closed_at":null,"body":"I noticed that the static memory initializer in the generated code uses bytes instead of 32-bit ints. Switching it to use 32-bit ints instead made the code significantly smaller in our case (we lost around 150kb). Is there a reason this isn't done when targeting typed arrays?\r\n"},"comment":{"url":"https://api.github.com/repos/kripken/emscripten/issues/comments/91144897","html_url":"https://github.com/kripken/emscripten/issues/2188#issuecomment-91144897","issue_url":"https://api.github.com/repos/kripken/emscripten/issues/2188","id":91144897,"user":{"login":"gagern","id":190759,"avatar_url":"https://avatars.githubusercontent.com/u/190759?v=3","gravatar_id":"","url":"https://api.github.com/users/gagern","html_url":"https://github.com/gagern","followers_url":"https://api.github.com/users/gagern/followers","following_url":"https://api.github.com/users/gagern/following{/other_user}","gists_url":"https://api.github.com/users/gagern/gists{/gist_id}","starred_url":"https://api.github.com/users/gagern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gagern/subscriptions","organizations_url":"https://api.github.com/users/gagern/orgs","repos_url":"https://api.github.com/users/gagern/repos","events_url":"https://api.github.com/users/gagern/events{/privacy}","received_events_url":"https://api.github.com/users/gagern/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T08:04:21Z","updated_at":"2015-04-09T08:04:21Z","body":"Implemented this approach for #3326."}}