Skip to content

Refine wasm/aot function instance lookup#3865

Merged
wenyongh merged 4 commits intobytecodealliance:mainfrom
wenyongh:dev/refine_lookup_function
Oct 18, 2024
Merged

Refine wasm/aot function instance lookup#3865
wenyongh merged 4 commits intobytecodealliance:mainfrom
wenyongh:dev/refine_lookup_function

Conversation

@wenyongh
Copy link
Collaborator

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

Copy link
Contributor

@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
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