jpemartins / speex.js

Speex codec in Javascript. Mirror from https://code.ua.pt/projects/speex-js
215 stars 64 forks source link

minified source doesn't get recognized as asm.js #17

Open jhiswin opened 10 years ago

jhiswin commented 10 years ago

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.