CTFE slower than expected
deadalnix
deadalnix at gmail.com
Wed May 30 01:38:47 PDT 2012
Le 29/05/2012 23:53, Walter Bright a écrit :
> On 5/29/2012 8:06 AM, Manu wrote:
>> On 29 May 2012 15:52, Don Clugston <dac at nospam.com
>> <mailto:dac at nospam.com>> wrote:
>>
>> On 29/05/12 12:25, Manu wrote:
>>
>> Is there any way to improve it?
>>
>>
>> Oh yeah. Orders of magnitude, easily. The slowness is not in any way
>> inherent to CTFE. The experience will be completely different, once I
>> have
>> some time to work on it -- I know exactly how to do it.
>>
>>
>> Alright, well I've got a case of beer with your name on it if you can
>> pull it
>> off! ;)
>
> tl,dr: CTFE started out as a glorified constant folder, not an
> interpreter. An interpreter needs a different design.
Can you elaborate on that ?
I would be very interested to have your experience with that, which
problems you faced, what you'd have done differently if you would have
known the future.
More information about the Digitalmars-d
mailing list