diff options
| author | 2016-05-26 15:57:29 -0700 | |
|---|---|---|
| committer | 2016-06-07 09:32:43 -0700 | |
| commit | e949039081b08626590be9783c85f358955e1b82 (patch) | |
| tree | e09211593d4f0bde678a34bf8d94fb108b2f9802 /libs/hwui/Program.cpp | |
| parent | e10bfc0ee67ffe72b75969139b738c66eaa1d66a (diff) | |
Use an ArrayMap instead of HashMap to track tether interfaces
( cherry-pick of 36f6f4e394750e4989d78f38a31ab8f2f66c07f7 )
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 'libs/hwui/Program.cpp')
0 files changed, 0 insertions, 0 deletions