Performance of method calls

Daniel Keep daniel.keep+lists at gmail.com
Wed Nov 29 23:38:03 PST 2006


Walter Bright wrote:
> Daniel Keep wrote:
> 
>> I hooked up a test app which used a loop with 100,000 iterations for 
>> each call type, and ran that program 100 times, and averaged the outputs.
> 
> 
> What flags did you use to compile it?

I didn't use any flags; I was worried about the compiler being "smart" 
and inlining the functions calls which would... well, eliminate them 
entirely :P

If there are any flags you can recommend that would give more realistic 
results, I'd love to know.

	-- Daniel




More information about the Digitalmars-d mailing list