summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2014-09-10 12:56:21 -0700
committerMathieu Chartier <mathieuc@google.com>2014-09-10 12:57:29 -0700
commitb4e5061fd6e0b665e025713643378ec31188cff2 (patch)
treee42b3f9c0de40e0fd133e7ee371c49650ca6e5b0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent6cb95276c3ead697f18e3d211c8d5b5ffacf379f (diff)
Change EmptyArray System.identityHashCode to Object.hashCode.
Equivalent behavior, improves performance since Object.hashCode has a fast path in the java side that does not require JNI. According to traceview sampling profiler: Calendar had 6.8% time in System.identityHashCode during launch. 0.4% time in System.identityHashCode after the change. Bug: 16828525 Change-Id: I1ed1d1283a990f990b0d4352cc1f4822b1dadf7b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions