What is “overhead”?

前端 未结 12 1864
予麋鹿
予麋鹿 2020-12-12 09:24

I am a student in Computer Science and I am hearing the word \"overhead\" a lot when it comes to programs and sorts. What does this mean exactly?

12条回答
  •  一个人的身影
    2020-12-12 09:52

    Overhead typically reffers to the amount of extra resources (memory, processor, time, etc.) that different programming algorithms take.

    For example, the overhead of inserting into a balanced Binary Tree could be much larger than the same insert into a simple Linked List (the insert will take longer, use more processing power to balance the Tree, which results in a longer percieved operation time by the user).

提交回复
热议问题