Maybe "pivot"? Or just "tmp"? I also vote to hoist the declaration out of theActually, I am a bit more prefer to keep the declaration inside the loop
loop precisely to avoid potential shadows, and to also associate the variable
with the "start" and "end" variables, e.g.
as it makes the declaration and assignment closer to make it easier to
understand the code. It should be relatively trivial to avoid potential
shadows in the future. It would be interesting to see what Paolo would say.