I've seen the performance of x.toArray(new T[0])
compared with x.toArray(new T[x.size()])
in multiple articles both on StackOverflow and on external sites, but all the analyses I've found so far were run on standard "desktop" JVM.
Did anyone run similar benchmarks on Android?