From: Glyn M. <gly...@gm...> - 2010-02-09 20:56:23
|
Hi Erik, On 9 February 2010 21:00, Nelson, Erik - 2 <eri...@ba...>wrote: > I was working to reduce my compile time a little with v0.5, and I > noticed that network/protocol/http/impl/response.ipp pulls in asio.hpp > in order to get const_buffer. > asio.hpp #includes literally 50 other header files, but it seems like > boost/asio/buffer.hpp is the only one needed... any objection to > replacing > > #include <boost/asio.hpp> > > With > > #include <boost/asio/buffer.hpp> > > In network/protocol/http/impl/response.ipp? > I counted 5 references to boost/asio.hpp in all our headers, not just in this file. I updated these to use the specific headers in each case in my own fork. It does seem to speed things up, but only a little. Thanks, Glyn |