CTFE Status 2
Stefan Koch via Digitalmars-d
digitalmars-d at puremagic.com
Sat Apr 1 15:37:04 PDT 2017
On Saturday, 1 April 2017 at 17:06:14 UTC, Inquie wrote:
>
> How far off until newCTFE is usable to compile the majority of
> templates out there? I have some new code that doesn't do
> anything real complex but seems quite slow for no apparent
> reason and would like to try the newCTFE if it has a good
> chance of working.
Quite far.
Templates are usually not slow because of CTFE.
But because of O(n^2) ((O(n!) actully in some cases) nature of
recursive templates.
I am going to fix this after CTFE, (if the D Langauge Foundation
or a third-party can provide sponsorship for that).
More information about the Digitalmars-d
mailing list