> On 11/02/2017 11:26 AM, Jiang Biao wrote:> > Make some functions inline. > > Why? > > Do you have evidence that the compiler isn't making reasonable default choices > with respect to inlining? No, :) Just found some of these functions are inline and others are not when reading the code, the style looks inconsistent. Besides, The compiler may make default inline choices for some functions, but may not for some cases(some longer ones). Adding inline manually can guarantee and not hurt. :) Thanks.
r~