Skip to content

Icon and filter optimization stuff #4825

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

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 Code: 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 Process: 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)

@Absolucy Absolucy changed the title [DNM] Icon and filter optimization stuff Icon and filter optimization stuff Jan 21, 2025
@Absolucy Absolucy removed the Process: do not merge don't merge this ffs label Jan 21, 2025
@Absolucy Absolucy merged commit f87f4a3 into Monkestation:master Jan 21, 2025
25 checks passed
@Absolucy Absolucy deleted the icon-and-filter-optimization-stuff branch January 21, 2025 19:38
github-actions bot added a commit that referenced this pull request Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code: 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