ammar / regexp_parser

A regular expression parser library for Ruby
MIT License
143 stars 22 forks source link

Use `require_relative` in the Regexp::Parser codebase #90

Closed koic closed 5 months ago

koic commented 5 months ago

If there are many searches in the $LOAD_PATH in the user environment, require will perform unnecessary searches that are not needed. In contrast, require_relative is efficient because it uses a relative path.

jaynetics commented 5 months ago

@koic thank you very much! i've just released v2.9.1 with your improvement.