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

Optimize misc helpers #12377

Merged
merged 4 commits into from
May 27, 2022
Merged

Optimize misc helpers #12377

merged 4 commits into from
May 27, 2022

Conversation

appgurueu
Copy link
Contributor

@appgurueu appgurueu commented May 25, 2022

Optimizes some misc helpers (particularly formspec escaping which doesn't have to iterate over the string five times anymore). Performance improvement was not tested but I consider this a code quality improvement as well either way.

How to test: Unit tests should still pass.

@appgurueu appgurueu force-pushed the opt-misc-helpers branch 2 times, most recently from 75769c1 to eb156de Compare May 25, 2022 22:59
Copy link
Member

@sfan5 sfan5 left a comment

Choose a reason for hiding this comment

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

Looks good.

@SmallJoker SmallJoker merged commit e8b2954 into minetest:master May 27, 2022
@appgurueu appgurueu deleted the opt-misc-helpers branch March 31, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants