Rather than directly passing the global object, this change refactors to only pass the necessary properties to the asm.js modules.
This works around a bug in Edge which causes a large slowdown on asm.js applications when using the global object for the stdlib, unless you are running with experimental JS features enabled.
Rather than directly passing the global object, this change refactors to only pass the necessary properties to the asm.js modules.
This works around a bug in Edge which causes a large slowdown on asm.js applications when using the global object for the stdlib, unless you are running with experimental JS features enabled.
I have a PR to fix the bug in Chakra as well (https://github.com/Microsoft/ChakraCore/pull/1555), but it will take some time before that makes its way back into Edge.