On Wednesday, 1 January 2014 at 22:52:34 UTC, Ola Fosheim Grøstad wrote:
On Wednesday, 1 January 2014 at 22:44:31 UTC, David Nadlinger wrote:
Not really. You'd probably still need a powerful constant folder/interpreter to avoid firing up the LLVM JIT for every single trivial CTFE invocation.

Why is that? You could just aggregate them and execute them in a single run.

It is not possible as semantic analysis of a given piece of code can depend of the CTFE of another.

Also JITing for trivial thing that could be constant folded is much slower.

Reply via email to