nasa / gunns

The NASA General-Use Nodal Network Solver (GUNNS) software
Other
46 stars 12 forks source link

flow orchestrator speed improvement #91

Closed jasonlharvey closed 7 months ago

jasonlharvey commented 1 year ago

The flow orchestrators would be faster if they stored the link port and node map information for quicker access, such as getNodeMap(), getNumberPorts(), getPortDirections() - just like the solver does. Since the solver already stores these and also initializes the orchestrator, just have the solver share its arrays with the orchestrator. This will improve the flow orchestration speed for large networks, and save memory.