memory optimization: defer wasm load, reduce point/poly default fields
This commit is contained in:
parent
32acfe376d
commit
069a599ead
5 changed files with 32 additions and 32 deletions
|
|
@ -496,7 +496,7 @@ self.kiri.loader.push(function() {
|
|||
}
|
||||
|
||||
// load renderer code in worker context only
|
||||
if (KIRI.worker)
|
||||
if (KIRI.worker && false)
|
||||
fetch('/wasm/kiri-ani.wasm')
|
||||
.then(response => response.arrayBuffer())
|
||||
.then(bytes => WebAssembly.instantiate(bytes, {
|
||||
|
|
|
|||
Loading…
Reference in a new issue