POV-Ray : Newsgroups : povray.off-topic : Bounding circle intersection : Re: Bounding circle intersection Server Time
4 Sep 2024 23:23:44 EDT (-0400)
  Re: Bounding circle intersection  
From: Kevin Wampler
Date: 11 Dec 2009 00:55:17
Message: <4b21dec5@news.povray.org>
Nicolas Alvarez wrote:
> The compiler may be optimizing knowing you're runing it on the same input 
> values each time. For example, only calling sqrt() 3 times and not 
> 300000000.


Ahh, good point.  After fixing this it looks like isect4 is faster than 
isect3, but by a pretty slim margin, so bart's method would definitely 
be the way to go.


Post a reply to this message

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