POV-Ray : Newsgroups : povray.programming : unnecessary int to float to int conversion : Re: unnecessary int to float to int conversion Server Time
8 Jul 2024 19:58:15 EDT (-0400)
  Re: unnecessary int to float to int conversion  
From: Vadim Sytnikov
Date: 27 Jan 2003 16:24:13
Message: <3e35a37d@news.povray.org>
"Thorsten Froehlich" <tho### [at] trfde> wrote:
>
> IIRC this code is in the sorting part of bounding and not speed
> critical. Whenever possible readability should be given preference
> for non-critical code.

'maxfinitecount = maxfinitecount * 3 / 2' seems to be a viable alternative
(equally [if not better] readable and more efficient).


Post a reply to this message

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