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

Fix ExprBookAuthors performance Java 17 #7023

Merged

Conversation

TheLimeGlass
Copy link
Contributor

Description

During a profiler, I noticed book author expression was a hotspot class during Skript tests at (3.60ms 72.4%) after adapting the class to Java 17 pattern matching, it has been reduced to (1.31ms 44.8%)


Target Minecraft Versions: any
Requirements: none
Related Issues: none

@TheLimeGlass TheLimeGlass added the enhancement Feature request, an issue about something that could be improved, or a PR improving something. label Sep 1, 2024
Copy link
Member

@sovdeeth sovdeeth left a comment

Choose a reason for hiding this comment

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

sorry one last nitpick

@Moderocky Moderocky merged commit cf64d58 into SkriptLang:dev/feature Sep 1, 2024
3 checks passed
@TheLimeGlass TheLimeGlass deleted the fix/book-authors-performance branch September 18, 2024 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request, an issue about something that could be improved, or a PR improving something.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants