Dependency

for (auto i = 0u; i < 90; ++i) {
  sum *= 10;
  sum += a[i];
}
^ This is Faster?
for (auto i = 0u; i < 90; i += 3) {
  sum *= 1000;
  sum += a[i] * 100;
  sum += a[i + 1] * 10;
  sum += a[i + 2];
}
^ This is Faster?

* The benchmark is run under AMD Ryzen 9.

* For the full benchmark code, please refer here.

* For illustration purposes only, see FAQ for more details.