3 ms·
At the expense of adding a hacky conditional to your execution path. Fine for a one off, but not for any larger workload. Instead, bind different modules to di
by codesushi42 7y ago
At the expense of adding a hacky conditional to your execution path. Fine for a one off, but not for any larger workload.
Instead, bind different modules to different binary build targets. If you're smart about your module size, compilation time is a non issue. It will be way more maintainable. And by forcing yourself to do this, you force yourself to modularize your code in an extensible way instead of placing flag hacks everywhere.