Skip to content

Refactor curves.cpp - #483

Open
BryanSouza91 wants to merge 4 commits into
OpenI6X:masterfrom
BryanSouza91:curves-PR
Open

Refactor curves.cpp#483
BryanSouza91 wants to merge 4 commits into
OpenI6X:masterfrom
BryanSouza91:curves-PR

Conversation

@BryanSouza91

@BryanSouza91 BryanSouza91 commented Aug 3, 2025

Copy link
Copy Markdown

There were some calculations that were repeated multiple times in a single scope those were calculated once, stored and used as needed.

Split from #480

@BryanSouza91 BryanSouza91 left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 241 can be removed. I thought I had removed it in this commit.

@ajjjjjjjj

Copy link
Copy Markdown
Member

I tested it and it adds about 52 bytes of code therefore I'm not sure if it is worth merging if it's not solving any bug or other existing issue.

…t is negligible; Keeping early exits for runtime performance;
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.

2 participants