通过这些优化之后,复选框的运行速度提高到约900毫秒,从而大大改进了性能。
With these optimizations, you have gotten your checkbox to run in approximately 900ms, which is quite an improvement in performance.
优化的指导原则应该总是先确保它正确,然后加快它的运行速度。
The guiding principle of optimization should always be get it right, then make it fast.
由于我对运行速度的快慢并没有什么概念,在获得实际数据之前我所进行的优化根本就是浪费时间。
Because I had no idea what was fast and what was slow, all optimization time I had spent before getting actual data was wasted.
应用推荐