Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: Directly provide payload to WASM entrypoints #5113

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dima74
Copy link
Contributor

@dima74 dima74 commented Oct 1, 2024

Context

Fixes #5074

Solution

From the issue:

when wasm is executed it's entrypoint function is always without arguments and does a callback to get_xxx_context to initialize. We should remove that (as it saves us one call to host) and directly provide an encoded argument when calling the entrypoint function.

Checklist

  • I've read CONTRIBUTING.md.
  • (optional) I've written unit tests for the code changes.
  • All review comments have been resolved.
  • All CI checks pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Review
Development

Successfully merging this pull request may close these issues.

Remove get_xxx_context functions from wasm
1 participant