Hello, I generate CnC++ code with a very large amount of steps, item and tag collections. The compilation times have grown to be unusably high. Currently, I'm metering the compilation time in different artificial scenarios. Currently I have only tested a deeply pipelined graph, a long chain of produce/consume steps. I was able to make some simple measurements on compilation time for gcc: (/usr/bin/time -f "%e %M" make)
where the number of nodes is thus roughly 3*depth. I'm currently running more tests on larger depth scales, but the linear trend seems to continue. The current CnC++ does not seem to scale well with the number of nodes.Most of the blame lies probably the gigantic context object, perhaps g++'s template expantion is to blame too. Does anyone know of any hacks or workarounds that would enable me to keep scaling the number of nodes?depth time(s) memory(KB) 1 50 8.30 963504 2 100 16.04 1230800 3 150 24.36 1462288 4 200 32.78 2030192 5 250 47.17 2106112 6 300 51.39 2989632 7 350 61.87 3055904 8 400 74.20 3138368 9 450 82.55 3411264 10 500 93.81 46782721 500 93.82 4678144 2 1000 236.80 7983872 3 1500 411.79 12790112 4 2000 626.52 14383056 5 2500 940.05 21012192


