diff options
author | Elliott Hughes <enh@google.com> | 2012-05-15 17:29:33 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-05-15 17:29:33 -0700 |
commit | f4ba5c8456d360bed12d665bf6c8647bfebb874c (patch) | |
tree | f775325d815ed24f472fecb018528bde7e6e9647 /docs/html/guide/practices | |
parent | aa9972943cab627db9b10e5c9c4bb80f99f8a4bd (diff) | |
download | frameworks_base-f4ba5c8456d360bed12d665bf6c8647bfebb874c.zip frameworks_base-f4ba5c8456d360bed12d665bf6c8647bfebb874c.tar.gz frameworks_base-f4ba5c8456d360bed12d665bf6c8647bfebb874c.tar.bz2 |
Mention that ProGuard inlines accessors.
Bug: http://code.google.com/p/android/issues/detail?id=27775
Change-Id: I6d8eaf41e3b7de30a9ef0cd03e3d6a9eec92c063
Diffstat (limited to 'docs/html/guide/practices')
-rw-r--r-- | docs/html/guide/practices/design/performance.jd | 3 |
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> |