Skip to content

process: simplify check in previousValueIsValid()

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/cheaper into master

This commit replaces a call to Number.isFinite() with a cheaper typeof check. The subsequent range checks ensure that the checked value is finite.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading