summaryrefslogtreecommitdiff
path: root/java/system_modules_test.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2024-02-01 16:42:36 -0800
committer Colin Cross <ccross@android.com> 2024-02-02 15:56:32 -0800
commitc0e42d5dfc265345037b980b981824bc83b9e8b0 (patch)
treed691b9e5c8605f49ee08abdf9b441f819229d080 /java/system_modules_test.go
parent0e5f6e4e9f34a6f41adb10aa51fd5bfb8fdab573 (diff)
Optimize InstallPath.String()
Every InstallPath will have String() called on it eventually, often more than once if it is in a slice that is sorted. Precompute the full path so it can be returned from InstallPath.String() without recomputing every time. Test: paths_test.go Change-Id: I1ed0a3801806854356865c0a5fc35d5cf6d349fe
Diffstat (limited to 'java/system_modules_test.go')
0 files changed, 0 insertions, 0 deletions