C++ Logo

std-discussion

Advanced search

Re: extremely long compile time with large number of string literals

From: Thiago Macieira <thiago_at_[hidden]>
Date: Fri, 10 Jul 2020 09:06:34 -0700
On Friday, 10 July 2020 08:58:25 PDT Artur Czajkowski wrote:
> "And if they have an optimsation pass that can't be implemented O(n), such
> as common code merging, would that standard requirement make the
> optimisation illegal?"
>
> I believe that people from standard should know that and don't put such
> unrealistic constraints.

Agreed, they shouldn't put those constraints. That means the time the OP had
is completely allowable.

It's a pathological corner-case and for which there are much better solutions.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products

Received on 2020-07-10 11:09:53