Designing for Performance


http://developer.android.com/guide/practices/design/performance.html


 

 

There are three aphorisms concerning optimization that everyone should know. They are perhaps beginning to suffer from overexposure, but in case you aren't yet familiar with them, here they are:

More computing sins are committed in the name of efficiency (without necessarily achieving it) than for any other single reason—including blind stupidity.

—William A. Wulf 1

We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil.

—Donald E. Knuth 2

We follow two rules in the matter of optimization:

  • Rule 1. Don't do it.
  • Rule 2 (for experts only). Don't do it yet — that is, not until you have a perfectly clear and unoptimized solution.

—M. A. Jackson 3



'java core' 카테고리의 다른 글

OOME 검출 방법  (0) 2011.01.06
vebose:gc 를 파일 로그로 남기기  (0) 2010.11.22
common pool 2.x 로 고고!  (0) 2010.10.01
자바 소스 설치하기  (0) 2010.10.01
java checked Exception에 대한 고찰  (0) 2010.10.01
Posted by '김용환'
,