1

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?

Dmitry Ginzburg
  • 7,391
  • 2
  • 37
  • 48

0 Answers0