accord-parallel
v0.1.0
Published
run compilation tasks through accord while distributing the load over multiple CPU cores
Downloads
3
Readme
Accord Parallel
Compilation is a pretty CPU intensive process, so it's much better to spread the load of compiling multiple files out accross multiple CPU cores. Accord Parallel does this by creating worker processes and sending compilation tasks to them.
Sadly, some compilers take functions and other complex datatypes as args. Those cannot be effectively sent between processes because sterilizing them into text would require sterilizing the entire scope along with it. So, when a complex datatype is passed, compilation will be done in the main thread.