Hi,

not sure what was changed and when, but I just noticed that the iostream 
'code bloat' is gone from my Oryol samples! The problem was: even though I 
didn't use any iostream features, something caused a lot of 
iostream-related code to be included in the final JS (about 300kByte 
uncompressed, so very significant). My workaround was to remove the static 
initializer line here: 
https://github.com/kripken/emscripten/blob/incoming/system/lib/libcxx/iostream.cpp#L34.

This 'fix' no longer makes a difference, even with the original checkout 
the final JS size is reduced, and I don't see any of the iostream functions 
in there, which means custom hacks to libcxx are no longer necessary (at 
least in my case).

Very cool :)
-Floh.

-- 
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.

Reply via email to