-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[embind] Change how the number of arguments are verified. (#22591)
This is really two changes, but they both will affect the same code so I did them at once: - The number of arguments is now only verified with ASSERTIONS enabled. This will help code size and the speed of embind invoker functions. - Allow optional arguments to be omitted. Fixes #22389
- Loading branch information
1 parent
57aeff1
commit 203bc12
Showing
6 changed files
with
70 additions
and
16 deletions.
There are no files selected for viewing
This file contains 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 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 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 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": 552, | ||
"a.html.gz": 380, | ||
"a.js": 9910, | ||
"a.js.gz": 4352, | ||
"a.js": 9727, | ||
"a.js.gz": 4295, | ||
"a.wasm": 7728, | ||
"a.wasm.gz": 3519, | ||
"total": 18190, | ||
"total_gz": 8251 | ||
"total": 18007, | ||
"total_gz": 8194 | ||
} |
This file contains 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 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