alexcrichton requested fitzgen for a review on PR #13524.
alexcrichton requested wasmtime-compiler-reviewers for a review on PR #13524.
alexcrichton opened PR #13524 from alexcrichton:intern-less to bytecodealliance:main:
This commit updates the handling of the
translate_entity_fillfunction within Cranelift translation to ensure that when afuncrefis used to fill an array it's only intern'd once instead of O(size of fill). This can make all the variants ofarray.{fill,new,new_default}etc much faster for large arrays of functions.Closes #13521
<!--
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
-->
alexcrichton requested wasmtime-core-reviewers for a review on PR #13524.
:thumbs_up: fitzgen submitted PR review:
Nice!
alexcrichton added PR #13524 Intern functions once in array-fill ops to the merge queue.
:check: alexcrichton merged PR #13524.
alexcrichton removed PR #13524 Intern functions once in array-fill ops from the merge queue.
Last updated: Jul 29 2026 at 05:03 UTC