POV-Ray : Newsgroups : povray.general : multiple calls to inc : Re: multiple calls to inc Server Time
2 Aug 2024 06:15:15 EDT (-0400)
  Re: multiple calls to inc  
From: Slime
Date: 21 Dec 2004 22:26:01
Message: <41c8e949$1@news.povray.org>
> If I had a scene in which I used multiple includes (textures.inc,
> metals.inc, woods.inc and functions.inc, for example), would it be worth
> my while as far as parse time goes to copy out just the definitions I
> want into my file and *not* attach the entire include files?


I wouldn't think that it would take that long to parse. If I were you, I'd
go ahead and use as many include files as I needed, and if I *noticed* that
it was taking an annoyingly long time, then I'd consider copying only what I
needed into my file. Of course, if you do that, then you have to keep in
mind that you can't rely on changes (bug fixes or improvements) to the
macros you use in the future.

So, don't do that unless you really have to.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

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