Re: [Snowball-discuss] RE:New, and a couple of questions

From: Richard Boulton (richard@tartarus.org)
Date: Thu Mar 11 2004 - 10:24:02 GMT


Sandy Ganz wrote:
 > The best optimization
> would be not to call the function and just make the compare inlined :-)

With reasonably recent GCC versions (certainly with 3.2, and probably
with earlier versions), unless you specify -fno-builtin I believe that
functions such as strcmp() will be inlined. Other compilers probably
inline such functions too.

-- 
Richard



This archive was generated by hypermail 2.1.3 : Thu Sep 20 2007 - 12:02:46 BST