CTFE Status
Stefan Koch via Digitalmars-d
digitalmars-d at puremagic.com
Thu Dec 8 11:13:23 PST 2016
I found the biggest performance bottleneck in newCTFE!
oldCtfe :
[root at localhost dmd]# time src/dmd -c ctfeTest.d testStringEq.d
testStringLength.d testStruct.d testMultipleArrayLiterals.d
real 0m0.026s
user 0m0.020s
sys 0m0.003s
[root at localhost dmd]# time src/dmd -c ctfeTest.d testStringEq.d
testStringLength.d testStruct.d testMultipleArrayLiterals.d
-bc-ctfe
real 0m0.025s
user 0m0.020s
sys 0m0.003s
After Fixing
[root at localhost dmd]# time src/dmd -c ctfeTest.d testStringEq.d
testStringLength.d testStruct.d testMultipleArrayLiterals.d
-bc-ctfe
real 0m0.019s
user 0m0.017s
sys 0m0.000s
More information about the Digitalmars-d
mailing list