diff options
author | Yusuke Endoh <[email protected]> | 2021-12-28 11:49:09 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2022-02-12 14:59:26 +0900 |
commit | 08137c5dd99354225874abc95280188738030794 (patch) | |
tree | c2edd3629f3d0f4226684f88ce212d362871ada3 /test/rdoc/support/test_case.rb | |
parent | 6e65e04186edbf2b5be88cd30268d455a9c6fec5 (diff) |
[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 'test/rdoc/support/test_case.rb')
0 files changed, 0 insertions, 0 deletions