-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
src: add ability to overload fast api functions #48993
Conversation
a0bdd05
to
12130bb
Compare
funny question to ask but could these functions be defined as overloads for |
haha, probably yes! |
0457a0a
to
4f9175c
Compare
4f9175c
to
7f918a9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I'd suggest we run benchmark CI again before landing it (probably need to wait until the security embargo is lifted)
Benchmark CI: https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/1357/ Results
|
Landed in 82e4ca1...607a545 |
PR-URL: #48993 Reviewed-By: Joyee Cheung <[email protected]>
PR-URL: #48993 Reviewed-By: Joyee Cheung <[email protected]>
PR-URL: nodejs#48993 Reviewed-By: Joyee Cheung <[email protected]>
PR-URL: nodejs#48993 Reviewed-By: Joyee Cheung <[email protected]>
PR-URL: #48993 Reviewed-By: Joyee Cheung <[email protected]>
PR-URL: #48993 Reviewed-By: Joyee Cheung <[email protected]>
PR-URL: nodejs#48993 Reviewed-By: Joyee Cheung <[email protected]>
PR-URL: nodejs#48993 Reviewed-By: Joyee Cheung <[email protected]>
PR-URL: nodejs#48993 Reviewed-By: Joyee Cheung <[email protected]>
PR-URL: nodejs#48993 Reviewed-By: Joyee Cheung <[email protected]>
PR-URL: #48993 Reviewed-By: Joyee Cheung <[email protected]>
PR-URL: #48993 Reviewed-By: Joyee Cheung <[email protected]>
PR-URL: #48993 Reviewed-By: Joyee Cheung <[email protected]>
PR-URL: #48993 Reviewed-By: Joyee Cheung <[email protected]>
Uses v8 fast api overloads to define
canParse
method, and remove duplicated external symbols.cc @nodejs/url @nodejs/performance