hybridgroup / mechanoid

Mechanoid is a framework for WebAssembly applications on embedded systems and IoT devices.
https://mechanoid.io
Apache License 2.0
170 stars 8 forks source link

engine, interp: use engine.Reader interface for Interpreter.Load() #15

Closed deadprogram closed 4 months ago

deadprogram commented 4 months ago

This PR modifies engine and interp to use a new engine.Reader interface as the parameter for Interpreter.Load() to avoid extra copying where possible.

deadprogram commented 4 months ago

Any comments before merge @orsinium or anyone else?

deadprogram commented 4 months ago

Thanks for review @orsinium now merging.