summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-05-16 09:55:12 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-05-16 09:55:12 -0700
commit4ed93c63fc9a65201f81ac6a3dc73d8a364354e0 (patch)
treeba729bbd30252a823f9d7913d273b6ff7b1de706 /docs
parent559146fc98ba0c1a272c37e78c38f7a9f145997a (diff)
parentf4ba5c8456d360bed12d665bf6c8647bfebb874c (diff)
downloadframeworks_base-4ed93c63fc9a65201f81ac6a3dc73d8a364354e0.zip
frameworks_base-4ed93c63fc9a65201f81ac6a3dc73d8a364354e0.tar.gz
frameworks_base-4ed93c63fc9a65201f81ac6a3dc73d8a364354e0.tar.bz2
Merge "Mention that ProGuard inlines accessors." into jb-dev
Diffstat (limited to 'docs')
-rw-r--r--docs/html/guide/practices/design/performance.jd3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/html/guide/practices/design/performance.jd b/docs/html/guide/practices/design/performance.jd
index c41f971..dd9b554 100644
--- a/docs/html/guide/practices/design/performance.jd
+++ b/docs/html/guide/practices/design/performance.jd
@@ -180,6 +180,9 @@ accessing a local), direct field access is about 7x faster than invoking a
trivial getter. This is true in Froyo, but will improve in the future when
the JIT inlines getter methods.</p>
+<p>Note that if you're using ProGuard, you can have the best
+of both worlds because ProGuard can inline accessors for you.</p>
+
<a name="use_final" id="use_final"></a>
<h2>Use Static Final For Constants</h2>