|
Boost Users : |
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2006-11-04 15:34:43
Dave,
Sorry for my misleading words, the meaning was: As more as I can
pre-calculate code at compile time (means slower compilation times) and
substitute runtime calculation the more speed I get at runtime. Hope that
was what you were meaning in the MPL book.
I also understand, that I can bloat compiler with unnecessary calculations
without any gain in speed, but my initial sentence was a thank to you an
Aleksey for such a nice lib, which can boost the runtime speed if used
properly ;)
Thanks,
Ovanes.
-----Original Message-----
From: David Abrahams [mailto:dave_at_[hidden]]
Sent: Saturday, November 04, 2006 7:18 PM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] [mpl::map] generating map for 150 types
"Ovanes Markarian" <om_boost_at_[hidden]> writes:
> Aleksey,
>
> Many thanks for your detailed reply. I think the second scenario with
> pre-generated headers convinces me more, since our compilation times
> are not optimal at all :(. But as you stated in the book: more work
> for compiler means less work at runtime.
In this case you won't get any runtime speedups by using the method that's
slower at compile time.
> These were not exactly the words, but I can remember the meaning.
I'm not sure you got the meaning exactly right either ;-)
-- Dave Abrahams Boost Consulting www.boost-consulting.com _______________________________________________ Boost-users mailing list Boost-users_at_[hidden] http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net