79311546

Date: 2024-12-27 10:22:05
Score: 1
Natty:
Report link

Because the boxing version does not need to convert i to a standalone string as an intermediate step. Rather it directly constructs the result string using the boxed i, which has less total overhead because it saves some memory allocation.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: hongxu