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!
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!