Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.4k
zlib: refactor to use primordial instead of <string>.startsWith#36718
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
Conversation
rchougule commented Jan 1, 2021 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Lxxyx left a comment
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 except one nit.
I suggest the first word of the commit message should be an imperative verb, something like zlib: refactor to use primordials instead of StringPrototypeStartsWith. Refs: #36679 (comment)
fcf85c0 to 0665753Comparerchougule commented Jan 1, 2021
Ah yes. My bad. Addressed in 0665753 |
| (key)=>(StringPrototypeStartsWith(key,'BROTLI_PARAM_') ? | ||
| constants[key] : | ||
| 0) |
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.
nit: I find it easier to read on one line, but you can leave it as is if you prefer.
| (key)=>(StringPrototypeStartsWith(key,'BROTLI_PARAM_') ? | |
| constants[key] : | |
| 0) | |
| (key)=> | |
| (StringPrototypeStartsWith(key,'BROTLI_PARAM_') ? constants[key] : 0) |
nodejs-github-bot commented Jan 9, 2021
nodejs-github-bot commented Jan 9, 2021
yashLadha commented Jan 10, 2021
Landed in 7a6af02 |
PR-URL: #36718 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Pooja D P <[email protected]>
PR-URL: #36718 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Pooja D P <[email protected]>
PR-URL: #36718 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Pooja D P <[email protected]>
PR-URL: #36718 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Pooja D P <[email protected]>
PR-URL: #36718 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Pooja D P <[email protected]>
PR-URL: #36718 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Pooja D P <[email protected]>
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes