Could someone give an overview of how the parallels module in pythongh is implemented? I have many questions, which I think anyone trying to speed up their code would want to know before spending time.
For example, is the code written in the component copied, and then python multiprocessing is being used in the background (I’m assuming its not multithreading)? Is only the function that is being called copied? How would it know what other functions to call, if that one was also using functions?
Is anything in Rhino or rhinoscriptsyntax able to be used in parallel, or are there only certain functions? If so, is there a list of them?
If it uses something like multiprocessing module, what is the overhead for spawning each child? Is it just the starting of a python instance, or are there more items that need to be created related to grasshopper?