Re: Horrible compiletimes and memory usage while compiling a parser with X3

teajay <[email protected]>
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
Le 26/10/2016 à 19:03, Exagon a écrit :
> of course these are the numbers of my project, which has some more code under
> the hood, I I dont think the example of the problem will generate a binary
> as big as the one from my project was, but the source of the bad compile
> times and huge binarys can definetly be found in the small example I showed
> you.
> Greetings Exagon
>

I managed to get the code compiled successfully with a reasonable 
compile time and memory usage with the latest clang version. I didn't 
have any success with gcc however.

I tried to identify template instantiations loops using templight but 
found nothing really bothering.

I guess you ran into a case where spirit drove the compiler over the 
edge, or into a bug. This can happen. Sometimes a new compiler helps get 
the problem fixed.

Regards,
Thomas Bernard

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.