Huge compilation time of template based sources (AIX 5.2, VA C++ 6 compiler)
- From: vitalyt@xxxxxxxxx
- Date: 18 Apr 2006 05:30:12 -0700
Hi,
I have cpp file which consist nested templates. Compilation time
without optimization is 1-2 minutes, with -O2 turned on more then 5
hours. :( Could anybody help with that problem?
AIX 5.2, Visual Age C++ 6 compiler
#include <pair>
using namespace std;
// value
typedef
std::pair
<
int,
std::pair
<
int,
std::pair
<
int,
std::pair
<
int,
std::pair
<
int,
std::pair
<
int,
std::pair
<
int,
std::pair
<
int,
std::pair
<
int,
std::pair
<
int,
std::pair
<
int,
std::pair
<
int,
std::pair
<
int,
std::pair
<
int,
std::pair
<
int,
std::pair
<
int,
std::pair
<
int,
int
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
internal_value;
.
- Follow-Ups:
- Prev by Date: Re: Problem with detecting the reception of a datagram
- Next by Date: Re: Problem with detecting the reception of a datagram
- Previous by thread: Re: sigwait() Questions
- Next by thread: Re: Huge compilation time of template based sources (AIX 5.2, VA C++ 6 compiler)
- Index(es):
Relevant Pages
|