Very interesting stuff here! :) I opened this issue for implementation in Binaryen: https://github.com/WebAssembly/binaryen/issues/1142
On Fri, Aug 18, 2017 at 8:24 AM, arnab choudhury <[email protected]> wrote: > Hello Emscripten-Discuss > > I just wanted to bring folks' attention to a new post-build optimization > pass for Emscripten generated asm.js called Similar Function Elimination > (SFE) that Tableau recently open sourced. I discussed with Alon, and our > thinking is that we will be adding this pass to Binaryen's web assembly > generator. Given that everyone is moving to Web Assembly, we are thinking > we may not add this pass back to Emscripten. However, that being said, the > Emscripten community should feel free to use Similar Function Elimination > on Emscripten generated asm.js if you need the additional size reduction. > > https://github.com/achoudhury85/Similar-Function-Elimination > > At Tableau, we have observed up to 20% code size reduction when using SFE > on template heavy codebases. > > Regards, > Arnab > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
