niu2x
niu2x
i think *CommandBufferGL::setVertexBuffer* and *CommandBufferGL::setIndexBuffer* should do same things. 1. check weather new value is different from old value. 2. release old value, retain new value. there's memory leak in...
1. when allocate memory: if rest < sizeof(Node), it should not insert to free list. 2. when free memory: if free list head is nullptr, we should set head ptr....
i'm not sure. alloc/free is important for Performance. is virutal function make a deal
is seems to trim cjk character.
by ``` console.log("e.table", e.table, data.length) console.log("table", binaryen.getTableInfo(this.module.getTable(e.table))) ``` output ``` e.table 0 185325 table { name: '0', module: '', base: '', initial: 185326, max: 185326 } ``` we know table's...