|
![](/i/fill.gif) |
Thorsten Froehlich <tho### [at] trf de> wrote:
:> #ifndef _INCLUDE_FILE_1_
:> #include "IncFile1.inc"
:> #end
: But this isn't how you do it in C/C++ header files...
I know, but it's a (less) known way of speeding up parsing in C/C++.
It's not something significant in small and mid-sized projects, but I have
heard stories about *HUGE* projects, which take several days to just compile,
where using this trick speeded up the parsing greatly.
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |