This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I don't know what exactly the compiler optimized out, especially whether it changed the divide by 2.2 into a multiple by the reciprocal.
In this case the templated version doesn't seem to have the same huge advantage. Templated 20.73s against 21.1s for the classed version. I would guess real, but not huge.
Do these numbers seem reasonable?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |