danvk / dds.js

Bridge Double Dummy Solver in JavaScript
Apache License 2.0
9 stars 5 forks source link

Shrink .mem file #7

Closed danvk closed 9 years ago

danvk commented 9 years ago

After this discussion, I shrunk it from 28M → 2M. But that's still larger than it needs to be. It's mostly zeros. Possible resolutions:

  1. make more statically allocated vars become dynamically allocated
  2. pester emscripten folks to be more efficient with zero-initialized structures
danvk commented 9 years ago

See https://github.com/kripken/emscripten/issues/3907