Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 OPR/39.0.2256.71
Opera 39
Mac OS X 10.10.5
Other
8 years ago
Test name Executions per second
using conditional 4826653.0 Ops/sec
using int cast 4684146.0 Ops/sec
Script Preparation code:
Tests:
  • using conditional

  • using int cast


;