Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5881

How to speed up ghpython codes?

$
0
0

@niyuxiangken wrote:

I wrote more than 200 lines of Ghpython codes,including one main program and 7 functions constructed by dictionary data structure.I have imported several necessary ghpython function pakages ,such as scriptcontext,rhinoscriptsyntax,ghpythonlib.components,Rhino.Geometry and so on.But it spent about ten seconds every time in finishing all.I want it done less than one second.GH_CPython has been unsuccessfully used to solve the problem because it can not import ghpython pakages metioned above.And I have tried to import numba to sort it out via installing Anacond3 which also confused me,failling at end.I use rhino6 and the grasshopper version is 1.0.0007.So how can I do to speed up my codes?
Please help me. Thank you all.

Posts: 7

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 5881

Trending Articles