Python 3 about 10x slower than old python component

Using .NET (e.g. RhinoCommon/rhinoscriptsyntax) in CPython (i.e. the Python 3 Script editor) is currently substantially less performant than using it in IronPython (i.e. the . NET version of Python used in the old GhPython and the new IronPython 2 Script components). See this topic:

I’m currently still using GhPython in Rhino 8 for production on anything that uses RhinoCommon. And then dabbling with the CPython component for things that are pure Python and uses PyPi packages. And kicking the tires on the new IronPython component as a future replacement for GhPython (e.g. in Grasshopper 2, which does not ship with/support GhPython, as far as I can tell).

2 Likes