monitoring variable evaluation time

Clayton via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jul 20 01:53:50 PDT 2015


What could be the best-tool for monitoring the evaluation time of 
a variable . What I usually do is run the command :-

- dmd -J. program.d

Then I inspect the program.o file using vi for presence of 
compile-time constants and enums. I am wondering if this is the 
right way to do this. Am a bit skeptical about this as am working 
on pushing everything that the compiler can do to the compiler 
for faster run-time.


More information about the Digitalmars-d-learn mailing list