[閒聊] Overhead (Wikipedia)

看板CSIE_ASM作者 (我不在系館喔!!)時間19年前 (2006/11/17 09:34), 編輯推噓3(300)
留言3則, 2人參與, 最新討論串1/1
Computational overhead From Wikipedia, the free encyclopedia Jump to: navigation, search In computer science, overhead is generally considered any combination of excess or indirect computation time, memory, bandwidth, or other resources that are required to be utilized or expanded to enable a particular goal. It is a special case of engineering overhead. For example, an algorithm which caches frequent results for quick retrieval has the overhead of maintaining the memory to store the cached results. In terms of Algorithmic efficiency, overhead is often the terms which are asymptotically irrelevant. Consider two algorithms based on input length n: algorithm A, which takes n2 operations, and algorithm B, which takes 4n + 7 operations. On short inputs such as n = 2, algorithm A is more efficient. Algorithm B is said to have overhead which constitutes the 4 extra operations for each input length and 7 additional operations (overhead may be used to describe all or any part of the additional operations). However, when the input is large,say n = 1000, algorithm B is much more efficient. Overhead may also be used to decide whether or not to include features in software engineering. If developing for an embedded system, a feature that has a high memory overhead may not be included. -- orzorzorzorzorzorz rz╭─╮rzorzorzorzorzorzrzorzorzorz rzorzorzorzorzor zo|我|zorzorzorzorzorzrzorzorzorzo zorzorzorzorzo or|敗|orzorzorzorzorzrzorzorzorzor orzorzorzorzo ˍ r< 了|rzorzorzorzorzorzrzorzorzorz rzorzorzorz rzo|:|zorzorzorzorzorby orzorzorzo zorzorzorz rzor orzor╰─╯orzorzorzorzorzrzorzorzorzor -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.30.60

11/17 10:16, , 1F
"多付出的成本, 代價, 勞力 , 時間, 等等", 視前後文而定
11/17 10:16, 1F

11/17 10:26, , 2F
有時英文用慣了中文反而不好表達, thank alex1025
11/17 10:26, 2F

11/18 20:15, , 3F
請問n2是指n的平方嘛???Thanks
11/18 20:15, 3F
文章代碼(AID): #15NH6c5f (CSIE_ASM)