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

Only render overlay in post #49

Merged
merged 1 commit into from
Mar 3, 2025
Merged

Only render overlay in post #49

merged 1 commit into from
Mar 3, 2025

Conversation

RecursivePineapple
Copy link

Currently, the overlay renderer runs twice: once for the pre event, and once for the post event. This PR changes the subscriber to only render in the post event. This is a minor performance improvement, but it's not anything measurable. It's just something I noticed when profiling containers with a lot of enchanted items. This is very low risk since it was already rendering in the post event, I just removed the pre event.

Before:
https://spark.lucko.me/j6XJrUzYht
image

After:
https://spark.lucko.me/SM6oLuddU8
image

@RecursivePineapple RecursivePineapple added the bug Something isn't working label Mar 1, 2025
@RecursivePineapple RecursivePineapple requested a review from a team March 1, 2025 04:21
@Dream-Master Dream-Master added the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Mar 2, 2025
@serenibyss serenibyss removed the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Mar 3, 2025
@serenibyss serenibyss merged commit 95ebc23 into master Mar 3, 2025
1 check passed
@serenibyss serenibyss deleted the render-in-post branch March 3, 2025 22:10
@Dream-Master
Copy link
Member

this crash the server zeta when try to join @RecursivePineapple
crash-2025-03-04_14.51.48-client.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants