Do I always have to think about performance?

后端 未结 21 719
小蘑菇
小蘑菇 2021-02-04 04:16

I come from a DBA world and performance has always been an obsession. I am turning to development and I always think about performance, constantly, all the time.

Reading

21条回答
  •  别跟我提以往
    2021-02-04 04:51

    When do I have to think about performance and when not?

    You can think about performance, whenever you spare any cycles from thinking about correctness. :-)

    Most of the time, though, your thought will be "the performance of this bit doesn't matter: either, because the performance of the whole application is still alright even with this bit, or because the cost of this bit is negligible or infinitessimal compared to the cost of that other bit."

提交回复
热议问题