POV-Ray : Newsgroups : povray.programming : OT - need help tracking a (few) bug(s) in my little raytracer (C++) : Re: OT - need help tracking a (few) bug(s) in my littleraytracer(C++) Server Time
28 Jul 2024 18:17:40 EDT (-0400)
  Re: OT - need help tracking a (few) bug(s) in my littleraytracer(C++)  
From: Thorsten Froehlich
Date: 8 Aug 2001 18:55:58
Message: <3b71c37e@news.povray.org>
In article <da53ntov8fnpb02dcs15kgcfm3ompe7u9e@4ax.com> , Peter Popov 
<pet### [at] vipbg>  wrote:

> This is up to the compiler, I guess. I will do some performance tests
> when I fix them nasty bugs.

No, you should define the function as "inline".  A compiler doesn't have to
inline functions automatically, and many compilers won't except you
explicitly tell them to use auto-inlining.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.