POV-Ray : Newsgroups : povray.general : compiled functios : Re: compiled functios Server Time
6 Aug 2024 19:31:45 EDT (-0400)
  Re: compiled functios  
From:
Date: 6 Feb 2002 10:48:00
Message: <e0j26u4vfbjptnbrid9r60q7aob4l093n7@4ax.com>
On 6 Feb 2002 09:27:35 -0500, Ron Parker <ron### [at] povrayorg> wrote:
> Nope, Perl compiles the whole script, then runs it.  He's asking whether there
> are any other languages that are hybrid between byte-compiled and interpreted.

Yes, that's it.

Let's imagine such example:
I can start infinite loop with 3.5 which all the time checks for existence of
two specified files. First contains vertices of poly, second - list of points.
When files appear then my loop starts macro, read first file and makes function
to test if given point is inside this polygon. Then it starts loop along second
file and checks all points with speed of compiled program. Somehow it outputs
result, unlocks variables, clear files and continue infinite loop.

Of course it's only imagination - in reality it could be wasting of CPU for this
infinite loop. What I wanted to show - all was done with only one script but
with speed of compiled program without anything like "eval" or included
temporary files.

ABX


Post a reply to this message

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