POV-Ray : Newsgroups : povray.general : Making faster #switch statements : Re: Making faster #switch statements Server Time
12 Aug 2024 09:25:50 EDT (-0400)
  Re: Making faster #switch statements  
From: Rudy Velthuis
Date: 5 Mar 1999 07:15:46
Message: <36dfcaf2.0@news.povray.org>
Phoenix schrieb in Nachricht ...

>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.


What makes you assume switch is slow in compiled code (C, Pascal, compiled
Basic) at all?

See my reply to Margus' reply too.

--
Rudy Velthuis


Post a reply to this message

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