v5.0.3
Pre-release
Pre-release
Do not use: suffers from performance/size regression introduced in v5.0.0
. Prefer v6.0.2
Additionally: UMD release appears to be broken (was built using a text-replace trick which doesn't work in newer Emscripten)
Updated from Emscripten 2.0.17
->2.0.26
.
Box2D.js is still 319kB.
Box2D.wasm is 226kB (up from 162kB).
Hopefully the extra code means more performance (more inlining?).
The most dramatic change in the changelog is the LLVM library/runtime updates in Emscripten 2.0.23.
Emscripten 2.0.21 introduces some hints that will help your bundler locate the .wasm
asset (and obviate the need to implement locateFile
). Will try to determine whether there's any instructions that can be simplified as a result of this.