Commit 385e23762dc18659c4cc0c69e17549fe3e00d74e

Behdad Esfahbod 2023-04-24T17:51:07

[var] Optimize calculate_scalar more This change alone is showing me 14% scalar in a benchmark. The reason being that the array::operator[] is not being invoked a lot of time, which was, many times, hitting the unlikely() path. Weird!