作者AmosYang (Zzz...)
看板Translate-CS
標題Re: [翻譯] Java 的 method call 要付出多少代價?
時間Tue Mar 19 13:42:46 2013
介紹幾篇與 CS 有關的文章…
對效能(performance)這話題有興趣的話可以看看這篇文章
http://stackoverflow.com/questions/11227809/why-is-processing-a-sorted-array-faster-than-an-unsorted-array
短網址:
http://goo.gl/u4Ebl
Wikipedia 上也有很淺顯的介紹
http://en.wikipedia.org/wiki/Software_performance_testing
http://en.wikipedia.org/wiki/Program_optimization
就 optimization 而言,可以濃縮成 Donald Knuth 的這句話
"We should forget about small efficiencies, say about 97%
of the time:
premature optimization is the root of all evil."
有人把這句譯為: 未成年就那麼優是罪惡的根源
- Donald Knuth
易言之,在動手大改前,得先設計好嚴謹的測量步驟及了解從程式語言到 CPU opcode
整個 technology stack
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 98.26.14.35
推 Minilogo:未成年就那麼優是罪惡的根源XD 03/19 13:44
推 PsMonkey:未成年就那麼優是罪惡的根源XD 經典名句啊! 03/19 13:46