summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2020-10-16 17:14:33 -0600
committerJeff Sharkey <jsharkey@android.com>2020-10-20 22:00:16 -0600
commit1c08f4825334622ee90331372f68319feb2fa68d (patch)
tree9a08184859dd0ad17632f2ae9c8619a7c9ceb8d0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentdf8dc2b4a5520784362804ce8e04afa53a0ca613 (diff)
Apply fixes for EfficientStringsChecker.
The recently-built Error Prone checker has found many instances where we're always paying the cost of StringBuilder concatenation, even in the typical cases where preconditions are successfully met. Benchmarks have shown that even when replacing these with varargs formatter strings, the default case is 20x faster. Bug: 170978902 Test: none Exempt-From-Owner-Approval: trivial refactoring Change-Id: If8c00bc73467bfb91ec16c162969c9d26ca53646
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions