lens-vm / lens

Mozilla Public License 2.0
298 stars 6 forks source link

Allow users to specify module re-use with different params #11

Open AndrewSisley opened 1 year ago

AndrewSisley commented 1 year ago

At the moment each wasm module specified in the lens file gets loaded/init-ed in memory regardless of how many times the wasm is used. For example if a rename module is used to rename Name=>FullName, and Phone=>PhoneNumber the module will be loaded twice. We want to measure how much that overhead is, and if significant, allow users to load it once, and then tweak the the params once the first lense/transform has completed.