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

Performance improvement #1075

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

AryazE
Copy link

@AryazE AryazE commented Sep 12, 2024

Reference issue

None

What does this implement/fix?

This improves performance by transforming calculated into a set. As the only use is to check if a value is already calculated, keeping each value once is enough and it is faster to search in a set than a list.

Additional information

This issue was found by DyLin via auto-dylin.

CheckList

  • Did you add an unittest for your new example or defect fix?
  • Did you add documents for your new example?
  • All CIs are green? (You can check it after submitting)

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