alexcrichton opened PR #13519 from alexcrichton:optimize-table-new-with-null to bytecodealliance:main:
Trying to fix some timeouts on OSS-Fuzz where the per-element fill is slow enough to time out. By skipping initialization entirely it should be possibly to bypass those timeouts in theory.
<!--
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 pchickey for a review on PR #13519.
alexcrichton requested wasmtime-core-reviewers for a review on PR #13519.
github-actions[bot] added the label wasmtime:api on PR #13519.
:thumbs_up: fitzgen submitted PR review.
:speech_balloon: fitzgen created PR review comment:
Does this correctly handle our lazy-table element's initialization bit?
:memo: fitzgen submitted PR review.
:speech_balloon: fitzgen created PR review comment:
(Might be worth a comment explaining, if so)
alexcrichton updated PR #13519.
:memo: alexcrichton submitted PR review.
:speech_balloon: alexcrichton created PR review comment:
Oh good question, and that actually answers why I hit a panic in tests on this and needed to setup the image. Works out (yay!) and I've left a note here indicating as much.
alexcrichton has enabled auto merge for PR #13519.
alexcrichton added PR #13519 Optimize Table::new slightly with null initializers to the merge queue.
alexcrichton removed PR #13519 Optimize Table::new slightly with null initializers from the merge queue.
alexcrichton added PR #13519 Optimize Table::new slightly with null initializers to the merge queue.
:check: alexcrichton merged PR #13519.
alexcrichton removed PR #13519 Optimize Table::new slightly with null initializers from the merge queue.
Last updated: Jul 29 2026 at 05:03 UTC