Andy Wingo <wi...@pobox.com> writes: > Hi, > > On Thu 08 Mar 2012 03:37, Mark H Weaver <m...@netris.org> writes: > >>> commit 24ea9f9c3abb8d9398df4810b815075593ba67c8 >>> Author: Andy Wingo <wi...@pobox.com> >>> Date: Tue Mar 6 22:21:39 2012 +0100 >>> >>> ports.c: inline get_codepoint >> >> It's generally frowned upon nowadays to explicitly ask the C compiler to >> inline functions, as modern compilers usually do a better job of >> deciding when to inline than we do. > > This was in response to benchmarking. In my experience the compiler > usually does a good job but sometimes needs help. In this case it > helped my benchmark by a percent or so without increasing code size.
With your compiler, the current compiler version, and on a particular platform. -- David Kastrup