Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Replace toArray(new T[size]) with toArray(new T) #1395
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)
https://shipilev.net/blog/2016/arrays-wisdom-ancients/#_conclusion (also contains benchmarks).
Could provide some simple performance improvements thanks!