cbrain
cbrain copied to clipboard
Boutiques generator to dump the created templated files to filesystem
The generator should dump the file it creates and load them from there instead of eval
ing them. There is already a method to dump the files in the proper directory structure, too.
The descriptor loader could then optimize things by checking the timestamp of the descriptor vs the timestamp of one of the file, and not regenerate the task if the dumped file is more recent, but simply jump to loading them all.
Advantages: proper line numbers and file name in stack traces, easier inspection by the developer/administrator. Disadvantage: several millisecond of cost as we load files from the filesystem, at boot time.