Alex Khizhnyi
Alex Khizhnyi
Measure text more accurate by the https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics
Based on the benchmark, the "for in" loop appears to be 10% slower than the "for" loop. Does it make sense to replace all instances of "for in"? https://jsben.ch/kxBxv
Based on the benchmark (https://jsben.ch/kxBxv), the "for in" loop appears to be 10% slower than the "for" loop. This pull request optimizes object traversal loops. Also ESLint errors fixed.
Based on the benchmark (https://jsben.ch/kxBxv), the "for in" loop appears to be 10% slower than the "for" loop. This pull request optimizes object traversal loops. Also ESLint errors and run...
1. fix module import 2. fix build on win system