{"action":"created","issue":{"url":"https://api.github.com/repos/kripken/emscripten/issues/3326","labels_url":"https://api.github.com/repos/kripken/emscripten/issues/3326/labels{/name}","comments_url":"https://api.github.com/repos/kripken/emscripten/issues/3326/comments","events_url":"https://api.github.com/repos/kripken/emscripten/issues/3326/events","html_url":"https://github.com/kripken/emscripten/pull/3326","id":67253801,"number":3326,"title":"Memory initializer in string literal","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-04-09T00:58:11Z","updated_at":"2015-05-29T08:35:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kripken/emscripten/pulls/3326","html_url":"https://github.com/kripken/emscripten/pull/3326","diff_url":"https://github.com/kripken/emscripten/pull/3326.diff","patch_url":"https://github.com/kripken/emscripten/pull/3326.patch"},"body":"Having the memory initializer as a separate file can become a huge problem in some environments. It would be nice if we could offer more alternatives. I see how big array literals would be kind of bulky. But how about encoding the memory initializer into one or more strings? Here is some code to do that, based on a base 88 encoding scheme. If you like the idea, it would be nice if you could introduce some setting to switch between file and string."},"comment":{"url":"https://api.github.com/repos/kripken/emscripten/issues/comments/106745285","html_url":"https://github.com/kripken/emscripten/pull/3326#issuecomment-106745285","issue_url":"https://api.github.com/repos/kripken/emscripten/issues/3326","id":106745285,"user":{"login":"waywardmonkeys","id":178582,"avatar_url":"https://avatars.githubusercontent.com/u/178582?v=3","gravatar_id":"","url":"https://api.github.com/users/waywardmonkeys","html_url":"https://github.com/waywardmonkeys","followers_url":"https://api.github.com/users/waywardmonkeys/followers","following_url":"https://api.github.com/users/waywardmonkeys/following{/other_user}","gists_url":"https://api.github.com/users/waywardmonkeys/gists{/gist_id}","starred_url":"https://api.github.com/users/waywardmonkeys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waywardmonkeys/subscriptions","organizations_url":"https://api.github.com/users/waywardmonkeys/orgs","repos_url":"https://api.github.com/users/waywardmonkeys/repos","events_url":"https://api.github.com/users/waywardmonkeys/events{/privacy}","received_events_url":"https://api.github.com/users/waywardmonkeys/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T08:35:32Z","updated_at":"2015-05-29T08:35:32Z","body":"While you were away, I had tried implementing this as well. My implementation ended up going into a different part of the code, but it kept running into problems as well. There's something about this that is hard to crack!"}}