Library for introspecting generic type information of types, member/static methods, fields. Especially useful for POJO/Bean introspection.
258
stars
42
forks
source link
Replace toArray(new T[size]) with toArray(new T[0]) #44
Closed
re-thc closed 3 years ago
Hi, noticed many occurrences of toArray that could be made faster with a find and replace.
Performance: replace toArray(new T[size]) with toArray(new T[0])
https://shipilev.net/blog/2016/arrays-wisdom-ancients/#_conclusion (also contains benchmarks).
Could provide some simple performance improvements thanks!