Closed IWANABETHATGUY closed 4 years ago
Though jit compiler will automatically optimization the iteration, but the warm up may cost some time, here is the benchmark comparison before and after the change. before: after:
test on MacBook Pro (2.3 GHz Intel Core i5)
only cache length if object is an Array, here is the benchmark
Thank you for the PR! This change has been released as part of 2.0.4.
2.0.4
Though jit compiler will automatically optimization the iteration, but the warm up may cost some time, here is the benchmark comparison before and after the change. before: after: