ammar / regexp_parser

A regular expression parser library for Ruby
MIT License
144 stars 23 forks source link

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

Closed koic closed 6 months ago

koic commented 7 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 6 months ago

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