cp3-llbb / CommonTools

Utilities to mass create histograms, flat trees, and more
2 stars 9 forks source link

[Factories] Turn on compiler optimizations expect for main file #139

Closed blinkseb closed 7 years ago

blinkseb commented 7 years ago

Even with -O1, the compilation time when there's more than ~100 histograms gets out of control (> 20h). Instead of penalizing every source file, turn on optimizations for everything, and turn off only for the main file.

swertz commented 7 years ago

Thanks, that will make a few things quicker :) I'll see what can be moved to source files from HHTools (ME reweighting and such)!