While I understand what you meant, there's several types of optimizations in computer science.
You can optimize for readability, for space, for time complexity, for parallelism, for data transformation, for data writting, for data reading, for functionalism (functional programming) and, (sight)...