Random Link ¯\_(ツ)_/¯ | ||
Jul 26, 2022 | » | General Tips on Performance and Optimization
2 min; updated Jul 26, 2022
Trying to optimize may lead to errors and high-maintenance/change-resistant code. If there’s no need to optimize, let the code be. Only optimize performance-critical parts of a program. If your program spends 4% of its processing time doing computation A, and 40% of its time doing computation B, a 50% improvement on A is only as impactful as a 5% improvement on B. Complicated and/or low-level code is not necessarily faster than simple code.... |