diff options
author | nharmata <nharmata@google.com> | 2017-04-04 19:09:15 +0000 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2017-04-05 15:18:52 +0200 |
commit | d705c98773afd3d08f7c04f71263b23f3dbc98f7 (patch) | |
tree | ee9c1a3b0d45b407769ca3a5b9d6a1a98d3138b4 /src/main/java/com/google/devtools/build/lib/rules/objc/ProtocolBuffers2Support.java | |
parent | e5538add58a952c1ef660e417f3f38dabf73b768 (diff) |
Rephrase AbstractAttributeMapper#visitLabels such that we can avoid creating a temporary Type.LabelVisitor instance per Attribute being visited. Instead, we can now create one temporary object per visitation. Getting rid of this dimension of scaling reduces the amount of garbage created.
RELNOTES: None
PiperOrigin-RevId: 152161836
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc/ProtocolBuffers2Support.java')
0 files changed, 0 insertions, 0 deletions