diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2021-12-28 11:49:09 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-02-12 14:59:26 +0900 |
commit | 08137c5dd99354225874abc95280188738030794 (patch) | |
tree | c2edd3629f3d0f4226684f88ce212d362871ada3 /libexec/rdoc | |
parent | 6e65e04186edbf2b5be88cd30268d455a9c6fec5 (diff) | |
download | ruby-08137c5dd99354225874abc95280188738030794.tar.gz |
[ruby/rdoc] Optimize RawLine by using a regexp instead of negative look-ahead rule
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.
https://github.com/ruby/rdoc/commit/7cf8281e3e
Diffstat (limited to 'libexec/rdoc')
0 files changed, 0 insertions, 0 deletions