| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
I think Crankshaft and TurboFan are smart enough to move the Math.pow() call to the use site but the baseline compiler probably isn't, which would mean an extra Math.pow() call in the (unoptimized) common case.
Sorry, something went wrong.
There was a problem hiding this comment.
oh whoops. I just moved it b/c it didn't fit in 80 chars, but brain farted that i moved it outside the if. will fix.
Sorry, something went wrong.
|
@trevnorris ... would you want this in v4.x? |
Sorry, something went wrong.
|
@jasnell bug fix, so I think so. |
Sorry, something went wrong.
|
@bnoordhuis Addressed comments. New CI: https://ci.nodejs.org/job/node-test-pull-request/620/ |
Sorry, something went wrong.
|
Two unrelated failures. Everything else looks good. |
Sorry, something went wrong.
|
LGTM. Consider adding tests for byteLength > 1. |
Sorry, something went wrong.
|
@bnoordhuis do these (https://github.com/nodejs/node/pull/3500/files#diff-aa771a8dc1afdde910c49517a74a0ddeR143) not cover that? |
Sorry, something went wrong.
|
I only see tests for byteLength == 0 and 1 or am I missing something? |
Sorry, something went wrong.
|
Thanks for the review. Landed in 3308e5e. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes: #3497
CI: https://ci.nodejs.org/job/node-test-pull-request/583/