Board logo

標題: How expensive is a method call in Java [列印本頁]

作者: pgr    時間: 2013-3-20 10:11     標題: How expensive is a method call in Java

http://plumbr.eu/blog/how-expensive-is-a-method-call-in-java

We have all been there. Looking at the poorly designed code while listening to the author’s explanations about how one should never sacrifice performance over design. And you just cannot convince the author to get rid of his 500-line methods because chaining method calls would destroy the performance.

那 500 行的 method 應該重構一下,別再用 method call 會損耗效能來當藉口。
作者: caterpillar    時間: 2013-3-20 10:50

BBS 上的延伸討論:
http://www.ptt.cc/bbs/java/M.1363717018.A.5A1.html




歡迎光臨 CodeData 技術論譠 (http://www.codedata.com.tw/forum/) Powered by Discuz! 7.2