Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mat007
Copy link
Contributor

@mat007 mat007 commented Apr 13, 2025

This showed up on my profiling attempts. I think we can just parse the bbcode regex only once.
If we’re worried this is done out of any code path, I can figure out a way to do it lazily.
But I’ve noticed there is MOBILE_BROWSER_REGEX elsewhere that’s initialized in the same way.

@mcarpenter622 mcarpenter622 merged commit 839d62e into ebitenui:master Apr 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants