The emscripten generated source is mangled in such a way that asm.js Firefox does not recognize it as asm.js, and so does not compile it. The difference in speed is very significant (drops down to 0.03s/0.01s for encoding/decoding). Solution would be to not minify the emscripten segments, or make it less aggressive, or have it not minify the initializer.
The emscripten generated source is mangled in such a way that asm.js Firefox does not recognize it as asm.js, and so does not compile it. The difference in speed is very significant (drops down to 0.03s/0.01s for encoding/decoding). Solution would be to not minify the emscripten segments, or make it less aggressive, or have it not minify the initializer.