On Mon, Oct 06, 2003 at 11:51:22AM -0400, Dimitrie O. Paun wrote: > On Mon, 6 Oct 2003, Jon Griffiths wrote: > > > Size and speed. > > > > The inlined versions are to meant to be used within the variant code, > > the biggest user being the coercion functions when I get round to > > updating them (after the low level stuff). The code for the vast > > majority of conversions is smaller than the code needed to push the > > args and call the functions, since they are simply casts. Where a > > common function is used for the conversion of most types the calls > > can be combined skipping a level of indirection. > > I see, I did not notice the _-versions where inlined. But since > all uses seem to be in the same file (is this correct), can't > we just mark the regular ones as extern inline?
Yes, please do. Newer gccs will use unit optimization and optimize better, regardless of order of functions. And/Or place Coerce last in the file ;) Ciao, Marcus