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

Core: Move Location.always_allow to a subclass #2651

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

Conversation

Berserker66
Copy link
Member

What is this fixing or adding?

Moves the always_allow rule to a subclass, mainly in the hopes of improving performance as can_fill is a pretty hot code path.

How was this tested?

Only unittests so far, which did run faster, but more testing especially for performance should be done.

If this makes graphical changes, please attach screenshots.

@alwaysintreble alwaysintreble added is: refactor/cleanup Improvements to code/output readability or organizization. affects: core Issues/PRs that touch core and may need additional validation. labels Jan 5, 2024
@black-sliver
Copy link
Member

Should probably benchmark this first. If we decide to merge, we should also touch up docs to mention this.

@PoryGone PoryGone added the waiting-on: author Issue/PR is waiting for feedback or changes from its author. label Feb 10, 2024
@Berserker66 Berserker66 added the meta: help wanted Additional review/assistance is requested for these issues or pull requests. label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects: core Issues/PRs that touch core and may need additional validation. is: refactor/cleanup Improvements to code/output readability or organizization. meta: help wanted Additional review/assistance is requested for these issues or pull requests. waiting-on: author Issue/PR is waiting for feedback or changes from its author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants