|
Boost : |
Subject: Re: [boost] [mpl] is there a or_seq like logical metafunction?
From: Larry Evans (cppljevans_at_[hidden])
Date: 2009-02-16 15:03:52
On 02/16/09 13:43, Larry Evans wrote:
> On 02/16/09 11:15, Steven Watanabe wrote:
>> AMDG
>>
>> Larry Evans wrote:
>>> The times for all three implementations were all the same:
>>>
>>> user: [and_seq_and_iter.o] 0.000016
>>> system: [and_seq_and_iter.o] 0.000003
>>>
>>> And this is where the vector size was BOOST_MPL_LIMIT_VECTOR_SIZE,
>>> which was 20.
>>
>> I don't trust the timings produced by bjam. I know it doesn't work on
>> windows, but I haven't looked at the unix implementation. Can you test
>> something that you know takes a significant amount of time to compile?
>
> I don't have anything handy like that. I know some spirit grammars
> take a long time; however, I don't have any big spirit grammars
> that might take a long time.
>
> Could the spirit guys provide some code?
Searching the spirit-general showed the post:
From: "Steve Drake" <sdrake_at_[hidden]>
Newsgroups: gmane.comp.parsers.spirit.general
Subject: Compilation has become very slow after adding rule
ID's
Date: Tue, 20 Mar 2007 22:05:37 -0600
with a .zip file. Downloaded that and got:
...
from Main.cpp:18:
../../../../../boost/spirit/tree/tree_to_xml.hpp:18:4: warning: #warning
"This header is deprecated. Please use:
boost/spirit/include/classic_tree_to_xml.hpp"
testing.time
../../../../../bin.v2/tools/profile_templates/timing/SourceFiles.dir/Src/gcc-4.2/debug/link-static/Main.time
user: [Main.o] 0.000203
system: [Main.o] 0.000015
...updated 8 targets...
Compilation finished at Mon Feb 16 14:00:43
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk