diff options
author | 2018-08-02 01:57:24 -0700 | |
---|---|---|
committer | 2018-08-02 01:58:38 -0700 | |
commit | 932a745b662bd84546c81b99a99b4fd1a25c4377 (patch) | |
tree | fe6b6320415814cb9bffa7a68936e1064ada9609 /src/main/java/com/google/devtools/build/lib/rules/java | |
parent | 78142a6bf3dbf802e3140c1098cf3fda8d4be883 (diff) |
Change Deque -> LinkedHashSet
In some cases, we may be reporting a lot of actions, and this has shown up as a hotspot in our profiling. LinkedHashSet should be just as fast for insertion, keep order as Deque, and be faster for removal.
There are a couple of more aggressive steps we can take if this doesn't help.
PiperOrigin-RevId: 207064758
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/java')
0 files changed, 0 insertions, 0 deletions