Battle-plan for CTFE

ketmar via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Tue Jul 5 09:40:05 PDT 2016


so, we played a little game with Stefan: i wrote a simple 
stack-based VM implementation for our beloved bug6498, and got 
270 msecs with debug build, 140 msecs with release build. can be 
made even faster with some simple peephole optimizer (it has two 
hacks to get fair times on 6498, but this is not a good peephole 
opt ;-). of course, it scales linearly too.

don't expect me to join the race, though: i was just curious how 
well stack-based VM can do.


More information about the Digitalmars-d-announce mailing list