Luke Lonergan wrote:
> So, if I understand this correctly, we're calling Alloc and ContextAlloc 10
> times for every row being summed?
>
> There are approx 10M rows and the profile snippet below shows 100M calls to
> each of those.
>
Unless I've accidentally run gprof on the profile output for a 100M row
case I had lying around :-( ... I'll check