jpemartins/speex.js

minified source doesn't get recognized as asm.js

Opened this issue · 0 comments

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.