Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add overload for LazyStringArrayList.add(String): boolean
This is a performance optimisation that avoids us going through from AbstractList.add(E) to LazyStringArrayList.add(int index, String) and then having to call the index-based add in ArrayList, which has more bookkeeping around moving elements across if necessary. We can avoid that bookkeeping by adding this overload. Also, group together overloads to squash a style warning. PiperOrigin-RevId: 650089286
- Loading branch information