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

[DNM] Icon and filter optimization stuff #4825

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

Conversation

Absolucy
Copy link
Member

@Absolucy Absolucy commented Jan 12, 2025

About The Pull Request

Ports my own upstream PR, tgstation/tgstation#88986

I also made it cache mask icons for height filters, and at the suggestion of smartkar, replaced if(!(appearance.appearance_flags & KEEP_TOGETHER)) with if((appearance.appearance_flags & KEEP_APART) && !(appearance.appearance_flags & RESET_TRANSFORM))

also fixed "lengthen" being spelled as "lenghten"

Why It's Good For The Game

less filter and height-related lag and overtime, hopefully.

Changelog

🆑
fix: Optimized some code related to filters and mob height.
/:cl:

@Absolucy Absolucy added the Performance / Optimization the number going down makes me happy :3 label Jan 12, 2025
@Absolucy Absolucy changed the title Icon and filter optimization stuff [DNM] Icon and filter optimization stuff Jan 12, 2025
@Absolucy Absolucy added the do not merge don't merge this ffs label Jan 12, 2025
@Absolucy
Copy link
Member Author

Absolucy commented Jan 12, 2025

DNM until it's far more extensively tested and profiled (on production, via being testmerged)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge don't merge this ffs Performance / Optimization the number going down makes me happy :3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant