|
|
Disnel <dis### [at] itamcascz> wrote:
> Josh English wrote:
>>
>> I thought that including a file like "colors.inc" increased the memory usage
>> or had some other effect to slow down parsing.
> But if you inlude texture.inc, for example, you NEED colors.inc,
> regardless
> if it is included automatically from textures.inc or manually from your
> POV file before #include "textures.inc".
Does POV make sure it hasn't already included a particular include? I think
not, or a lot of the include file style functions wouldn't work multiple
times. Parsing a long include of essentially just definitions (even if they
overwrite only themselves) could take quite a bit of time, if it's a long
file.
So there is some use in checking to see if a particular include (not of the
type where including multiple times can have different results) has already
been included.
Geoff
Post a reply to this message
|
|