79182244

Date: 2024-11-12 18:06:37
Score: 1
Natty:
Report link

That was false positive case and it's already resolved https://github.com/detekt/detekt/issues/3145

As an enhancement, the check could look at the actual byte code generated. If the spread operator leads to a new array instantiation, the spread operator is a performance issue and should be reported. If the spread operator passes through an existing array, the spread operator is not a performance issue and should not be reported.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Grey2k