-
-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Labels
featureNew feature or requestNew feature or request
Description
Problem Statement
Since v4.0.0, several users have reported that Ptera Software has become much slower at creating UnsteadyProblems. I've also noticed this, and it is particularly bad when initializing problems with many time steps.
Proposed Solution
More investigating needs to be done to pinpoint the exact cause of the slowdown. However, I suspect it may have something to do with recomputing property attributes in Airplane or Wing.
It's also possible that we are unnecessarily calling parameter validation functions on arguments in private methods and functions.
One last thing to try is using defining __slots__ for Airfoil, WingCrossSection, Wing, and Airplane, which will likely provide a modest speed up for attribute assignment and access.
Alternative Solutions
None
Additional Context
None
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request