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 RawLine by using a regexp instead of negative look-ahead rule #854

Merged
merged 2 commits into from Dec 28, 2021

Conversation

mame
Copy link
Member

@mame mame commented Dec 28, 2021

This improves the performance in some cases.
rdoc .../gems/sinatra-2.1.0/README.md takes 10.5 sec. before this
change, and 7.1 sec. after this change.
make rdoc of ruby/ruby takes 19.3 sec. before this change, 18.1 sec.
after this change.

This improves the performance in some cases.
`rdoc .../gems/sinatra-2.1.0/README.md` takes 10.5 sec. before this
change, and 7.1 sec. after this change.
`make rdoc` of ruby/ruby takes 19.3 sec. before this change, 18.1 sec.
after this change.
@aycabta aycabta merged commit eea17e0 into ruby:master Dec 28, 2021
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.

None yet

2 participants