Skip to content
Commit e9490390 authored by Christopher Wiley's avatar Christopher Wiley
Browse files

Use an ArrayMap instead of HashMap to track tether interfaces

( cherry-pick of 36f6f4e3 )

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.
parent e10bfc0e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment