Right now each adapter generates one monolithic wasm function per world import and world export. This means that if a list<T> is used many times, it'll have duplicated lowering/lifting code in many places. Should consider splitting out helpers to, for example, read T from linear memory (or write it) and delegate to those helpers instead. Some discussion here about this too.
Right now each adapter generates one monolithic wasm function per world import and world export. This means that if a
list<T>is used many times, it'll have duplicated lowering/lifting code in many places. Should consider splitting out helpers to, for example, readTfrom linear memory (or write it) and delegate to those helpers instead. Some discussion here about this too.