Subject: Re: extremely long compile time with large number of string literals
From: Artur Czajkowski (atch.cpp_at_[hidden])
Date: 2020-07-09 01:22:57
@Thiago Macieira via Std-Discussion
" The standard doesn't
care if the algorithms rerquired to implement it are quadratic or cubic or
exponential. " [Misspelling original]
Pity, because standard should care about things of such importance.
You (the committee) are destroying the C++ language.
On Thu, Jul 9, 2020 at 3:53 AM Thiago Macieira via Std-Discussion <
> On Wednesday, 8 July 2020 18:39:35 PDT Mandeep Sandhu via Std-Discussion
> > Can someone explain to me why it takes such a long time to compile?
> > Keeping the strings to under 5K, makes the program compile in about 8
> > secs.
> You should ask that question in the GCC mailing list. The standard has
> to do with how long compilers take to compile anything. The standard
> care if the algorithms rerquired to implement it are quadratic or cubic or
> Suggestion: since this is clearly a generated file, instead of using
> std::unordered_set, use the gperf application or another perfect hash
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
> Software Architect - Intel System Software Products
> Std-Discussion mailing list
-- Best regards *Artur Czajkowski* https://marketplace.visualstudio.com/items?itemName=GitAtomic.GitAtomic
STD-DISCUSSION list run by email@example.com
Older Archives on Google Groups