I should have mentioned this aspect, sorry. After some discussion, this was added to asm.js several months back,
http://discourse.specifiction.org/t/request-for-comments-switching-resizing-heaps-in-asm-js/641/18 so enabling this does *not* disable full asm.js speed. In other words, asm.js supports changing the heap size, and emscripten now allows that by default. - Alon On Wed, Feb 18, 2015 at 5:54 PM, Bruce Mitchener <bruce.mitche...@gmail.com> wrote: > This no longer has an impact on asm.js or needs a special asm.js mode? > > - Bruce > > On Thu, Feb 19, 2015 at 8:46 AM, Alon Zakai <alonza...@gmail.com> wrote: > >> The ALLOW_MEMORY_GROWTH option is now on by default on the incoming >> branch. This means that it will increase the size of the global typed array >> if necessary. This prevents you from needing to specify the total amount of >> memory you will ever use once up front, which avoids an odd allocation >> breaking your app in a surprising way. >> >> The downsides to this option are a slight code size increase, 0.5% (half >> of one percent), and possibly an even smaller execution speed decrease, >> probably negligible. But, if you know for sure how much memory you are >> using, you might want to turn this option off. >> >> - Alon >> >> -- >> 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 emscripten-discuss+unsubscr...@googlegroups.com. >> 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 emscripten-discuss+unsubscr...@googlegroups.com. > 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 emscripten-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.