enable wasm acceleration for layer diffs

This commit is contained in:
Stewart Allen 2021-07-10 22:57:32 -04:00
commit a9e22e802f
3 changed files with 11 additions and 5 deletions

View file

@ -314,7 +314,7 @@
opt.prof.call = (opt.prof.call || 0) + 1;
}
if (false && opt.wasm) {
if (opt.wasm && geo.wasm) {
let oA = outA ? [] : undefined;
let oB = outB ? [] : undefined;
geo.wasm.js.diff(setA, setB, z, oA, oB);