Re: [Boost-bugs] [Boost C++ Libraries] #889: Insane Dependencies

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #889: Insane Dependencies
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-22 17:18:00


#889: Insane Dependencies
-------------------------------+--------------------------------------------
  Reporter: nobody | Owner: az_sw_dude
      Type: Feature Requests | Status: assigned
 Milestone: | Component: date_time
   Version: None | Severity: Optimization
Resolution: None | Keywords:
-------------------------------+--------------------------------------------

Old description:

> {{{
> From: helvey_at_[hidden]
>
> Simply including boost/date_time/posix_time headers causes build times to
> skyrocket. Building a file that includes
> boost/date_time/posix_time/posix_time.hpp takes almost a minute, removing
> the header drops the time to less than a second.
> Also why no conversions to time_t? It would be nice not to have include
> the header outside of translation units. :)
> }}}

New description:

 {{{
 From: helvey_at_[hidden]

 Simply including boost/date_time/posix_time headers causes build times to
 skyrocket. Building a file that includes
 boost/date_time/posix_time/posix_time.hpp takes almost a minute, removing
 the header drops the time to less than a second.
 Also why no conversions to time_t? It would be nice not to have include
 the header outside of translation units. :)
 }}}

--
Comment(by marshall):
 Is this still a useful request?
 Here's what I got on my MacBookPro (junk is just 'main', junk2 includes
 "boost/date_time/posix_time/posix_time.hpp")

 DuoTwo:~ marshall$ time g++ -I /Marshall/Sources/boost/trunk junk.cpp

 real    0m0.056s
 user    0m0.025s
 sys     0m0.023s

 DuoTwo:~ marshall$ time g++ -I /Marshall/Sources/boost/trunk junk2.cpp

 real    0m1.641s
 user    0m1.395s
 sys     0m0.228s
-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/889#comment:4>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC