3 ms·
Most optimization calls on my laptop happen nearly instantaneously, whereas they can take a few seconds on average on phones. Didn't test super comprehensively.
by jstrieb 2y ago
Most optimization calls on my laptop happen nearly instantaneously, whereas they can take a few seconds on average on phones. Didn't test super comprehensively.
If you end up wanting to use the version of SCIP compiled to WASM, I have it pre-compiled in the repo here: https://github.com/jstrieb/poker-chipper/tree/fab41bbe8821d0c49d074716271727564c1457f1/src/compiled https://github.com/jstrieb/poker-chipper/tree/fab41bbe8821d0...
To interact with WASM SCIP, I use the CLI with an Emscripten virtual filesystem (as opposed to the C API/FFI): https://github.com/jstrieb/poker-chipper/blob/fab41bbe8821d0c49d074716271727564c1457f1/src/solve.js#L222-L247 https://github.com/jstrieb/poker-chipper/blob/fab41bbe8821d0...
If you want to compile it yourself, the code and compiler flags I used to do that are documented in a Dockerfile in the repo: https://github.com/jstrieb/poker-chipper/blob/fab41bbe8821d0c49d074716271727564c1457f1/experiments/Dockerfile https://github.com/jstrieb/poker-chipper/blob/fab41bbe8821d0...