DescriptionUse a kMaxSafeInteger instead of Number.MAX_SAFE_INTEGER
Defines and uses a kMaxSafeInteger macro (which expands to the constant
2^53-1) instead of accessing Number.MAX_SAFE_INTEGER. This saves loading
the attribute from the Number object, which is slightly faster. This also
makes it clearer from reading the code that tha value being compared is
constant.
BUG=
LOG=N
Committed: https://crrev.com/3ece714df62df2c641ed15acee1736a49675add4
Cr-Commit-Position: refs/heads/master@{#30814}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Zap unneccessary GlobalNumber in runtime.js #
Messages
Total messages: 9 (3 generated)
|