|
|
If you include a common *.inc file in every file that need it, when you
include these files, you parse the common file multiple time, which can be
slow. What I do is check with ifndef if the file isn't already included (by
checking either the first #declared identifier in the #included file or the
first #declared identifier the current file needs from the #included file).
Povingly,
Philippe
Post a reply to this message
|
|