POV-Ray : Newsgroups : povray.programming : Re: Post process with filter & transm Server Time
29 Jul 2024 08:21:25 EDT (-0400)
  Re: Post process with filter & transm (Message 1 to 1 of 1)  
From: Ron Parker
Subject: Re: Post process with filter & transm
Date: 13 Mar 2001 11:58:43
Message: <slrn9aske6.e56.ron.parker@fwi.com>
On Tue, 13 Mar 2001 16:15:53 +0100, Mael wrote:
>by the way , while looking at pov source code i notice a huge switch/case in
>pattern.c (in Evaluate_TPat). Wouldn t it be faster if a pointer of function
>was used ? i think the evaluate_tpat is called very often so any
>optimization could result in faster rendering

A good compiler will optimize that to a table if a table would be faster.
f'ups to .programming.

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

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