I used for
loop to initialise an array with default value. And I also used Arrays.fill
for performance comparison. In every test case for own for
loop is faster than Arrays.fill
method
If inbuilt method is not giving good performance then why many developer use inbuilt method.
I am not expert in CP so please suggest