Skip to content

feat: improve fawe limits #2773

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

Merged
merged 6 commits into from
Jul 28, 2024
Merged

feat: improve fawe limits #2773

merged 6 commits into from
Jul 28, 2024

Conversation

dordsor21
Copy link
Member

 - add FaweLimit implementations for increasing concurrency levels
 - allow FaweLimit to perform processing (and forcefully disable as required) to capture [tile] entities
 - Use `BlockVector3#set(Extent orDefault)` where appropriate to reduce block checks
 - fixes #2679
 - fixes #1874
@dordsor21 dordsor21 requested a review from a team as a code owner June 9, 2024 18:25
@github-actions github-actions bot added the Feature This PR adds a new feature label Jun 9, 2024
@Switch(name = 'p', desc = "Show any printed output")
boolean print
@Switch(name = 'h', desc = "Hide any printed output")
boolean hide
Copy link
Member Author

@dordsor21 dordsor21 Jun 9, 2024

Choose a reason for hiding this comment

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

Not having output from this brush is awkward, especially since it only runs the command once, default to showing output

Copy link

Please take a moment and address the merge conflicts of your pull request. Thanks!

# Conflicts:
#	worldedit-core/src/main/resources/lang/strings.json
Copy link

Please take a moment and address the merge conflicts of your pull request. Thanks!

Copy link
Member

@PierreSchwang PierreSchwang left a comment

Choose a reason for hiding this comment

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

Untested, but looks good code-wise

@dordsor21 dordsor21 requested a review from a team June 26, 2024 12:05
@dordsor21 dordsor21 merged commit 6052fc3 into main Jul 28, 2024
11 checks passed
@dordsor21 dordsor21 deleted the feat/improved-fawe-limits branch July 28, 2024 07:53
dordsor21 added a commit that referenced this pull request Jul 28, 2024
dordsor21 added a commit that referenced this pull request Jul 28, 2024
 - add FaweLimit implementations for increasing concurrency levels
 - allow FaweLimit to perform processing (and forcefully disable as required) to capture [tile] entities
 - Use `BlockVector3#set(Extent orDefault)` where appropriate to reduce block checks
 - fixes #2679
 - fixes #1874

(cherry picked from commit 6052fc3)
dordsor21 added a commit that referenced this pull request Jul 28, 2024
 - cannot remember why I made this change in the first place in #2773 but this fixes edits having "empty middles"
 - doesn't seem to have broken anything in testing
dordsor21 added a commit that referenced this pull request Sep 14, 2024
 - add FaweLimit implementations for increasing concurrency levels
 - allow FaweLimit to perform processing (and forcefully disable as required) to capture [tile] entities
 - Use `BlockVector3#set(Extent orDefault)` where appropriate to reduce block checks
 - fixes #2679
 - fixes #1874

(cherry picked from commit 6052fc3)
dordsor21 added a commit that referenced this pull request Sep 14, 2024
 - cannot remember why I made this change in the first place in #2773 but this fixes edits having "empty middles"
 - doesn't seem to have broken anything in testing
dordsor21 added a commit that referenced this pull request Sep 15, 2024
 - add FaweLimit implementations for increasing concurrency levels
 - allow FaweLimit to perform processing (and forcefully disable as required) to capture [tile] entities
 - Use `BlockVector3#set(Extent orDefault)` where appropriate to reduce block checks
 - fixes #2679
 - fixes #1874

(cherry picked from commit 6052fc3)
dordsor21 added a commit that referenced this pull request Sep 15, 2024
 - cannot remember why I made this change in the first place in #2773 but this fixes edits having "empty middles"
 - doesn't seem to have broken anything in testing
dordsor21 added a commit that referenced this pull request Sep 17, 2024
* feat: improve fawe limits (#2773)

 - add FaweLimit implementations for increasing concurrency levels
 - allow FaweLimit to perform processing (and forcefully disable as required) to capture [tile] entities
 - Use `BlockVector3#set(Extent orDefault)` where appropriate to reduce block checks
 - fixes #2679
 - fixes #1874

(cherry picked from commit 6052fc3)

* fix: actually apply a filter if applied from a full region chunk section
 - cannot remember why I made this change in the first place in #2773 but this fixes edits having "empty middles"
 - doesn't seem to have broken anything in testing

* Reduce limit to always atomic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature This PR adds a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

max-blockstates config limit is not enforced on //set Bad calculation of the number of blocks changed?
3 participants