Author: Larry Griffiths
Date: 18:52:10 01/19/01
Go up one level in this thread
On January 19, 2001 at 14:36:57, Paul wrote: >On January 19, 2001 at 12:32:06, Larry Griffiths wrote: > >>On January 19, 2001 at 04:36:32, Severi Salminen wrote: >> >>> >>>>>Would there be any downside to the inline function? >>>> >>>>Some compilers might decide to treat it as a normal function instead of inlining >>>>it, in some cases. I think Borland does this if the inline function contains >>>>loops or other things it considers "too complex". >>> >>>In VC++ 6.0 you can specify __forceinline and compiler _will_ make it an inline >>>function. Very useful. There might be this option in Borland as well - which one >>>are you using? >>> >>>Severi >> >>I am using Borland Builder 5 and I have never found any forceinline like VC has. >> >>Larry. > >I'm also using BCB5, and indeed there isn't a forceinline, unfortunately :( >I like it very much for GUI building and programming, but VC++ seems to >have a lot more options for optimizing ... > >Paul I also like the VCL, Paul. I have resorted to using #defines a lot and writing inline assembler whenever possible. I have been using a lot of MMX instructions lately and my program may only run on Pentium II or higher machines in the near future. Larry.
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.