Replace often searched ArrayList with ArraySet
ArrayList.contains() is the top function in PackageManager's boot profile for IntenFilter.matchAction(). Replacing the arrays with ArraySets makes those completely disappear. Bug: 237583012 Test: build + boot Change-Id: I659f802be54c5a3f70fd23688bbff1fb5f44cb51
Loading
Please register or sign in to comment