|
Boost : |
From: Michael Fawcett (michael.fawcett_at_[hidden])
Date: 2006-09-21 15:08:15
On 9/21/06, Geoffrey Irving <irving_at_[hidden]> wrote:
>
> It's hard to be certain since they didn't actually show the code they were
> compiling, but judging by their pseudocode that test is entirely insufficient.
> If i is a compile time constant, v[i] is easy to optimize. The hard case is
> if i is a arbitrary runtime integer, as mentioned in my previous email.
Absolutely, it's entirely out of the question if i is not a
compile-time constant.
--Mike
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk