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

Use require_relative in the Regexp::Parser codebase #90

Merged
merged 1 commit into from May 11, 2024

Conversation

koic
Copy link
Contributor

@koic koic commented May 6, 2024

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.

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 jaynetics merged commit 0ec8b3e into ammar:master May 11, 2024
2 checks passed
@jaynetics
Copy link
Collaborator

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

@koic koic deleted the use_require_relative branch May 11, 2024 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants