Boost logo

Boost Users :

Subject: Re: [Boost-users] BGL: Debug too slow
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-04-16 10:28:26


John Krajewski wrote:

> It seems my debug build is exteremely slow in the parts that call boost
> graph library functions. Is there a way I can force the boost lib files to
> compile with optimizations even though the rest of my app is in debug??

Unlikely. Because Boost.Graph is header-only, it's compiled with whatever settings
your application is. If you have few .cpp files that use BGL, you can build those
.cpp files in release mode, using whatever mechanism your build system provides.

- Volodya


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