-
-
Notifications
You must be signed in to change notification settings - Fork 380
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
Removes no-keyword pattern from ExprNewBannerPattern #7546
base: dev/patch
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesn't matter but here!
It was decided not to attempt to reimplement the pattern as no safe and reasonable pattern was found.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ggs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you wanted it to be (semi) non-breaking, you could generate a choice pattern out of all of the colour names, since a choice can be used like pattern keywords.
Description
This pattern was responsible for significant slowdown in parsing due to its lack of required keywords.
Removing this pattern caused one test case of 3000 structures to go from a 4 minute parse time to a 1 minute parse time.
Target Minecraft Versions: any
Requirements: none
Related Issues: none