POV-Ray : Newsgroups : povray.general : Making faster #switch statements : Re: Making faster #switch statements Server Time
12 Aug 2024 09:21:14 EDT (-0400)
  Re: Making faster #switch statements  
From: Margus Ramst
Date: 5 Mar 1999 06:38:06
Message: <36DFC21D.23FAFB0B@peak.edu.ee>
Damn. I was convinced that #swich is faster and used it whenever I
could. It is faster in BASIC, if I'm not mistaken (or am I wrong there,
too?)

Margus

Phoenix wrote:
> 
> The switch statement is already slow in compiled code (C, that is). It's
> total horror when used in an interpreted language like POV's. Use #if if
> you can.
> 
> Phoenix
>


Post a reply to this message

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