Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constraints patch #297

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Constraints patch #297

wants to merge 3 commits into from

Conversation

aniketp
Copy link
Contributor

@aniketp aniketp commented Apr 11, 2017

@StuartLittlefair , @bmorris3 . This is in relation to the results I got from profiling the code. I have made some changes regarding that.
Adjusted the code slightly so that memory usage is minimized, the properties _all_constraints and constraints were being used repetitively .
Also separately added the part which can append AltitudeConstraints in b.constraints if initially the constraints was not empty and there was no instance of AltitudeConstraint (default 0 deg) in it.

Adjusted the code slightly so that memory usage is minimized, the properties `_all_constraints` and `constraints` were being used repetitively . 
Also separately added the part which can append `AltitudeConstraints` in `b.constraints` if initially the constraints was not empty and there was no instance of `AltitudeConstraint` (default 0 deg) in it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant