Day: June 8, 2016

[1691] Optimization

Title Text:Premature optimization is the root of all evil, so to start this project I’d better come up with a system that can determine whether a possible optimization is premature or not.<

Origin:https://xkcd.com/1691/

https://www.explainxkcd.com/wiki/index.php/1691:_Optimization

在计算中,优化是使计算机程序尽可能快地工作的实践,通常通过设计它来执行最少的计算。 “过早优化”是在显示需要优化之前尝试优化程序部分的实践。如果程序的某些部分稍后被更改或丢弃,或者优化的代码只是工… Read more

Categories