top

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 會損耗效能來當藉口。

TOP