Re: [eigen] 3.2.0-beta1 released! |
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
Yes, bcp does exist, but it is not very
good at paring things down. Mostly because decoupling boost
modules seems to be a complete non-priority for the maintainers.
I've used bcp and been astonished at how much bloat it pulls in for relatively simple things. - You want a gaussian distribution? bcp gives you 34MB of source. Including a 2MB vector200.hpp file you will never, ever use, unless you happen to go out of your way to define BOOST_TYPEOF_LIMIT_SIZE to a value *between* 200 and 250. - You just need a smart pointer class? You get off relatively easy -- just 6.7MB of source (more than *all* of Eigen). Don't get me wrong. I hold parts of boost in high regard and use them frequently. Just think twice before pulling in boost as a dependency. -- Mark PS. If you want to play with bcp yourself, I'll save you the trouble of finding out how. ( linux) (first download and untar the tarball, my notes are w/ 1.4.9 ) ./bootstrap.sh ./bjam tools/bcp ./dist/bin/bcp --boost=. boost/math/distributions/normal.hpp (targetDir) PPS. don't assume the bcp namespace feature will necessarily protect you against differing versions on the system. On 03/07/2013 03:04 PM, Keir Mierle wrote:
|
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |