Slow code, slow

ketmar ketmar at ketmar.no-ip.org
Tue Feb 27 14:46:40 UTC 2018


Martin Tschierschke wrote:

>> basically, compilation of a code without templates is FAST. 500+ KB of 
>> source almost without templates often compiles in less than a second (on 
>> not-so-bleeding-edge i3, not even i7).
>>
>> but throw templates in a mix, and BOOM! coffee and cigarettes.
>
> My negative experience was, when using ctRegex and normal regex.
> But it was no problem to separate the functions using regex in a lib and 
> compile
> them separately. (app saving 3 seconds)

you happened to hit another issue, yeah: slow CTFE enigne. that should be 
improved too. ;-)


More information about the Digitalmars-d mailing list