cbrain icon indicating copy to clipboard operation
cbrain copied to clipboard

Boutiques generator to dump the created templated files to filesystem

Open prioux opened this issue 7 years ago • 0 comments

The generator should dump the file it creates and load them from there instead of evaling 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.

prioux avatar Oct 26 '17 19:10 prioux