Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: reduce if statement for
NaN
(micro-optimization) (#697)
* chore(perf): reduce if statement for `NaN` Signed-off-by: francesco <[email protected]> * isInteger return false for Infinity and NaN Signed-off-by: francesco <[email protected]> * fast check for NaN Signed-off-by: francesco <[email protected]> * disable lint Signed-off-by: francesco <[email protected]> * disable only for self-compare NaN Co-authored-by: Aras Abbasi <[email protected]> Signed-off-by: francesco <[email protected]> * fast check for NaN Signed-off-by: francesco <[email protected]> --------- Signed-off-by: francesco <[email protected]> Co-authored-by: Aras Abbasi <[email protected]>
- Loading branch information