Author: Russell Reagan
Date: 10:59:01 08/28/03
Go up one level in this thread
On August 28, 2003 at 13:49:21, Steven Edwards wrote: >Simple and short routines are always inlined, so there's nothing that gets >"passed" in those cases. That's what I expected, but there was still a 10% slowdown when I wrapped up a simple color into a class. I don't know what else would be causing the slowdown if it isn't the pointer overhead. >For those using gcc/g++, I should also mention the -finline-limit=n option. The >default value for n of 600 is too small for even moderately aggressive inlining. > I use a limit of 4096 and get much faster code. Thanks for the tip.
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.