Tight loops mean:develope one specialized function call which gets a field of data and works on it.. Resurfacing after the job is done.
You may even invert direction, handing over a pure script language function (no context) + the data, so the c++ engine may crunch the data at least in parallel small script vms without stack, similar to a shader.