|
Boost : |
From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2006-06-08 14:23:32
On Thu, 08 Jun 2006 12:51:09 -0400, Beman Dawes <bdawes_at_[hidden]>
wrote:
>Gennaro Prota wrote:
>> [...]
>> * I fear I'm missing something but does unrolled_byte_loops really
>> "unroll" loops at compile time? It seems to me it just uses (run-time)
>> recursion.
>
>The depth of recursion is controlled at compile time. The runtime calls
>are presumably optimized away by inlining. You would have to look at the
>generated code and/or run some tests to see if there is any abstraction
>penalty.
>
>In any case, that is an implementation detail, as indicated by being in
>namespace detail. It can be replaced with something else if need be.
Yes, absolutely. This was more a "terminology" question, in fact.
> [...]
>
>Thanks for the comments and corrections!
It's a pleasure. I hope to have further comments in the next days,
when I'll try using the library for a real application I have in mind.
--Gennaro.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk