Computer Chess Club Archives


Search

Terms

Messages

Subject: question about automatic inline expansion warning

Author: Uri Blass

Date: 07:51:35 09/23/03


one of the optimization that I do it inline every suitable because I found in
the past that it made my program faster.

When I used maximal level warning I found hundreds of warning of the following
type:

warning C4711: function 'fill_dir_white_small' selected for automatic inline
expansion

I wonder if it is better not to do it because I found when I used maximal
warning that I get warning for every automatic inline.

I believe that there are functions that it is bad idea to inline like the
function to generate promotion because they are called rarely and I guess that
the program is slower because it is better to have smaller code for functions
that are used rarely.

A possible idea is to print the list of all the inlined functions and use
force_inline only for part of them that are called often(I do not know about a
way to tell the program not to inline a specific fuction when I use inline every
suitable).

Uri



This page took 0.01 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.