CTFE Status

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Tue Dec 6 09:35:28 PST 2016


On 12/06/2016 11:27 AM, Stefan Koch wrote:
> On Monday, 5 December 2016 at 18:47:13 UTC, Stefan Koch wrote:
>> On Monday, 5 December 2016 at 16:47:33 UTC, Andrei Alexandrescu wrote:
>>> On 12/05/2016 11:28 AM, Stefan Koch wrote:
>>>> It looks like the performance wins brought by the new ctfe engine might
>>>> be higher then I predicted.
>>>
>>> That's awesome!! -- Andrei
>>
>> After discovering this performance bottleneck I have now changed my
>> mind about how I will tackle concatenation of arrays and strings in
>> particular.
>> All con-cat operations should be done as intrinsic calls.
>> Because tight cooperation with the CTFE-Memory-Management-Subsystem is
>> needed.
>
> I just implemented a bytecode cache, however the bytecode generation is
> so fast now that we only safe a couple micro seconds by using the cache.
> It is not noticeable at all :P.

Just give us time :o). -- Andrei



More information about the Digitalmars-d mailing list