Preface
I just finished the first lesson of Performance_Engineering_Introduction, and saw these posts from McNeel.
https://developer.rhino3d.com/guides/grasshopper/multi-treaded-components/
https://developer.rhino3d.com/guides/grasshopper/programming-task-capable-component/
I might just leave the link here for a while, till I get time to really implement it by myself.