KEMBAR78
COMMON: Avoid makeUnique on string if trim wouldn't modify it. by elasota · Pull Request #4995 · scummvm/scummvm · GitHub
Skip to content

Conversation

@elasota
Copy link
Contributor

@elasota elasota commented May 8, 2023

Minor optimization. Exits "trim" earlier if the string is already trimmed.

@sev-
Copy link
Member

sev- commented May 14, 2023

Thanks! Good stuff

@sev- sev- merged commit 3adb30e into scummvm:master May 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants