You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for wasmer::Function::new_with_env reads "If you know the signature of the host function at compile time, consider using Function::new_typed_with_envfor less runtime overhead.
Besides improving performance, it also removes the boiler plate passing param slices and unwrapping return values.
The text was updated successfully, but these errors were encountered:
MarcGuiselin
changed the title
Use wasmer::TypedFunction instead of wasmer::Function (wherever possible)
Use wasmer::TypedFunction instead of wasmer::FunctionNov 27, 2023
The documentation for
wasmer::Function::new_with_env
reads "If you know the signature of the host function at compile time, consider usingFunction::new_typed_with_env
for less runtime overhead.Besides improving performance, it also removes the boiler plate passing param slices and unwrapping return values.
The text was updated successfully, but these errors were encountered: