|
Boost : |
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-09-01 23:34:46
AMDG
Giovanni Piero Deretta wrote:
> Hum, I've played a little with some mockup iterators, and I can
> definitely see the N^2 stack growth, and with some expression template
> heavy program, I wouldn't be surprised if the growth would actually
> become noticeable (even if it weren't enough to blow the stack, it
> could still produce cache misses and such). I can't seem to come-up
> with any clever scheme to reduce the growth (short of using pointers
> to the original range of course).
>
> Enough for today. Maybe tomorrow I'll get some idea.
>
I've been playing around with this a bit.
See attached.
In Christ,
Steven Watanabe
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk