更新时间:2023-02-09 21:24:16
我将停止基于微基准进行优化,而转向代码方面看起来优雅的东西,例如 String.format("%0"+numDigits+"d", testNumber)
I would stop doing optimizations based on micro-benchmarks and go for something that looks elegant codewise, such as String.format("%0"+numDigits+"d", testNumber)