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

Refine wasm/aot function instance lookup #3865

Merged
merged 4 commits into from
Oct 18, 2024

Conversation

wenyongh
Copy link
Contributor

Sort the module instance's export functions with the function name,
and use binary search to lookup the wasm function.

Copy link
Collaborator

@lum1n0us lum1n0us left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

followings include giving name to wasm_exter_t in interp_process_export() and aot_process_export().

Copy link
Collaborator

@xujuntwt95329 xujuntwt95329 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wenyongh wenyongh merged commit 48eaa22 into bytecodealliance:main Oct 18, 2024
383 checks passed
Zzzabiyaka pushed a commit to Zzzabiyaka/wasm-micro-runtime that referenced this pull request Oct 22, 2024
Sort the module instance's export functions with the function name,
and use binary search to lookup the wasm/aot function.
@wenyongh wenyongh deleted the dev/refine_lookup_function branch October 24, 2024 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants