diff options
author | Christopher Wiley <wiley@google.com> | 2016-05-26 15:57:29 -0700 |
---|---|---|
committer | Christopher Wiley <wiley@google.com> | 2016-05-26 16:06:10 -0700 |
commit | 36f6f4e394750e4989d78f38a31ab8f2f66c07f7 (patch) | |
tree | ab4e007616e13970c635e00e329d03e81223fdb4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e221f808e54fe45a4b44099f0a2b5a998d604672 (diff) |
Use an ArrayMap instead of HashMap to track tether interfaces
Since the number of tetherable interfaces should be small (e.g. <10),
the computational cost of a looking up objects in an ArrayMap is negligible,
and the memory required is less than a HashMap.
While here, remove some unused imports.
Change-Id: I3fb7091cfb93697d2fc6388b843d60f7e8e7e1a6
Test: Compiles.
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions