Clue icon indicating copy to clipboard operation
Clue copied to clipboard

Multi-threaded compilation

Open Enn3Developer opened this issue 2 years ago • 1 comments

At the current state, when called to compile an entire folder of Clue files, the compiler will compile the files one by one. That by itself isn't something bad, but for bigger projects it may take quite a lot of time to compile everything. The proposal is as follows: change the behavior of compile_folder inside main.rs to add files in a queue to be processed by some compilation thread instead of compiling everything inside there. This may even set a stepping stone for future work on multi-threading the compiler with fast compilations in mind (although as of now this is not really a necessity but with the planned features things may change)

Enn3Developer avatar Sep 26 '22 10:09 Enn3Developer

This sounds good

Maiori44 avatar Sep 26 '22 10:09 Maiori44

This was added so it should be closed

Maiori44 avatar Nov 09 '22 08:11 Maiori44