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

Clean up slightly how tags are parsed in built-in docs generation #99880

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Mickeon
Copy link
Contributor

@Mickeon Mickeon commented Nov 30, 2024

By defining what the tag's name is early we can avoid a some redundant checks for prefixes.
I don't really expect this to be much of a performance improvement. Perhaps @dalexeev is interested in this, too?


Draft because, perhaps there's more to be done? I wanted to standardize parsing a corresponding value (what comes after = if it exists), but it's not any faster than, for example, tag.substr(5), which is done everywhere now.
Same goes for additional options. It'd be a waste to fetch them early every time.

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.

1 participant