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
It is there because the method calls public APIs that require a store with a T but none of them actually use the T. For every pub fn foo<T> that is called, we could create a pub(crate) fn _foo without the T and then call those methods from _serialize and ultimately remove the T from _serialize.
This would make it so that calling wasmtime::CoreDump::serialize isn't monomorphized for every T in a store passed to it, which can help compile times when there is more than one T used in the program.
The text was updated successfully, but these errors were encountered:
Follow up to #7078 (comment)
It is there because the method calls public APIs that require a store with a
T
but none of them actually use theT
. For everypub fn foo<T>
that is called, we could create apub(crate) fn _foo
without theT
and then call those methods from_serialize
and ultimately remove theT
from_serialize
.This would make it so that calling
wasmtime::CoreDump::serialize
isn't monomorphized for everyT
in a store passed to it, which can help compile times when there is more than oneT
used in the program.The text was updated successfully, but these errors were encountered: