Skip to main content
added 135 characters in body
Source Link
Sid Malani
  • 2.1k
  • 1
  • 13
  • 13

Byte codes are executed natively anyways so it's likely that performance would be better than a loop.

So in case of a loop it would have to execute byte codes which will incur an overhead. While array copy should be straight memcopy.

Byte codes are executed natively anyways so it's likely that performance would be better than a loop.

Byte codes are executed natively anyways so it's likely that performance would be better than a loop.

So in case of a loop it would have to execute byte codes which will incur an overhead. While array copy should be straight memcopy.

Source Link
Sid Malani
  • 2.1k
  • 1
  • 13
  • 13

Byte codes are executed natively anyways so it's likely that performance would be better than a loop.