Battle-plan for CTFE

ketmar via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Jul 6 20:45:04 PDT 2016


just... can't... stop...

some current statistics:

druntime
total interpreted calls: 27,146
total complied calls   : 1,330

phobos
total interpreted calls: 6,492,826
total complied calls   : 19,975

i can't do function calls from compiled code yet, so number of 
compiled calls is low, and no speedup can be seen. also, i can do 
only integer math and string concatenation.

yes, phobos has ALOT of CTFE! ;-)

this is statistics from "make -f posix.mak unittest" (yes, i can 
pass all unittests too!)

still, not that bad for a toy implementation! ;-)


More information about the Digitalmars-d-announce mailing list