CTFE slower than expected

Walter Bright newshound2 at digitalmars.com
Tue May 29 14:53:27 PDT 2012


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.


More information about the Digitalmars-d mailing list