Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use HashMap with computeIfAbsent instead of a LoadingCache for Visito…
…rState.getTypeFromString(). LoadingCache has concurrency baked in, but we were setting concurrencyLevel = 1 because javac is not meant to be used in a concurrency environment. RELNOTES: Performance improvements ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=248210051
- Loading branch information
1 parent
5871842
commit 30137a0
Showing
1 changed file
with
10 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters