POV-Ray : Newsgroups : povray.pov4.discussion.general : Caching parsed code : Re: Caching parsed code Server Time
2 May 2024 20:26:40 EDT (-0400)
  Re: Caching parsed code  
From: clipka
Date: 16 Apr 2009 00:25:00
Message: <web.49e6b2e1e0976a9b255d1edc0@news.povray.org>
nemesis <nam### [at] nospam-gmailcom> wrote:
> Friggin' insane.  Without even peeking at the code, I'm guessing the
> lack of proper scoping rules has something to do with that as #locals
> are locals in the context of files, not of macros... or am I wrong again?...

Um... I think you are. #locals are indeed locals in the context of include files
as long as they're not inside macros - but when they're inside macros, they're
local to that one.

> > So, standard macro libs are a good thing, but sometimes you better not #include
> > but copy & paste them :P
>
> Much better than simply having a bytecompiled language with true scoping
> rules and modules. ;)

Yeah. Think of it: If we had pre-compiled bytecode include files, how could we
ever copy & paste the macros into our main scene files for speedup? :P


> ah, boost 1.38 finally compiled... :)
>
> beta here we go!

Have fun!


Post a reply to this message

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