-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Refactor Emval implementation to avoid JS heap allocations. #21205
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
Merged
Merged
Changes from 6 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
c252984
Refactor Emval JavaScript implementation to avoid heap allocation.
mrolig5267319 d90ee09
fix syntax errors
mrolig5267319 9639b41
fix typo
mrolig5267319 9752e50
Updates from code review.
mrolig5267319 889193c
Rebaseline test_minimal_runtime_code_size_hello_embind_val.
mrolig5267319 488f3a6
Merge branch 'main' into main
mrolig5267319 fdc625f
Rebaseline test_minimal_runtime_code_size_hello_embind_val.
mrolig5267319 3c2e5e6
Fix test_embind_val
mrolig5267319 237bd2f
Rebaseline test_minimal_runtime_code_size_hello_embind_val.
mrolig5267319 ece8ec5
Fix formating
mrolig5267319 a553a6f
Merge branch 'main' into main
mrolig5267319 6b45975
Merge branch 'main' into main
mrolig5267319 d823c3e
Rebaseline test_minimal_runtime_code_size_hello_embind_val.
mrolig5267319 bb1b625
Merge branch 'main' into main
mrolig5267319 5e2f3bd
Simplify handle code paths even if it means halving the address space.
mrolig5267319 b06380f
Assert that handles are even when validating.
mrolig5267319 1b54b12
Merge branch 'main' into main
mrolig5267319 a6586c1
Keep EMVAL_RESERVED_HANDLES as 5 for clarity.
mrolig5267319 d15c4fb
Merge branch 'main' into main
mrolig5267319 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"a.html": 673, | ||
"a.html.gz": 431, | ||
"a.js": 7387, | ||
"a.js.gz": 3112, | ||
"a.wasm": 11433, | ||
"a.wasm.gz": 5725, | ||
"total": 19493, | ||
"total_gz": 9268 | ||
"a.js": 7178, | ||
"a.js.gz": 3052, | ||
"a.wasm": 11439, | ||
"a.wasm.gz": 5729, | ||
"total": 19290, | ||
"total_gz": 9212 | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.