C++ Logo

STD-DISCUSSION

Advanced search

Subject: Re: extremely long compile time with large number of string literals
From: Thiago Macieira (thiago_at_[hidden])
Date: 2020-07-10 11:06:34


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

STD-DISCUSSION list run by std-discussion-owner@lists.isocpp.org

Older Archives on Google Groups