It might also be worth noting that GHPython performance appears to have dropped in general, at least in cases with many iterations/large computations. It’s a pattern I starting noticing when Rhino 6 launched, where my Rhino 5 definitions developed using GHPython “felt” slower on Rhino 6.
Here’s a super simple, but consistent, example. Rhino 5 vs Rhino 7:
I think we did discuss this issue back when Rhino 6 launched. And assumed it was due to updating IronPython. I never did analyse this further (e.g. run different versions of IronPython outside Rhino and benchmark) to verify this conjecture though.