fitzgen opened PR #9724 from fitzgen:field-type-subtyping-and-mutability
to bytecodealliance:main
:
Similar to https://github.com/bytecodealliance/wasm-tools/pull/1934 but for
wasmtime::FieldType
.<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
fitzgen requested wasmtime-core-reviewers for a review on PR #9724.
fitzgen requested alexcrichton for a review on PR #9724.
alexcrichton submitted PR review.
alexcrichton created PR review comment:
This is still a valid optimization to do though, right? IIRC
signatures()
below grabs a lock so ideally we'd keep this.
fitzgen submitted PR review.
fitzgen created PR review comment:
signatures()
doesn't grab a lock, the methods on it do, and theis_subtype
method already has this optimization as a fast path, so no need to duplicate it all over the place.
fitzgen merged PR #9724.
Last updated: Dec 23 2024 at 12:05 UTC