Skip to content

Use require_relative instead of require - #359

Merged
tas50 merged 1 commit into
masterfrom
require_relative
Jan 24, 2020
Merged

Use require_relative instead of require#359
tas50 merged 1 commit into
masterfrom
require_relative

Conversation

@tas50

@tas50 tas50 commented Jan 15, 2020

Copy link
Copy Markdown
Member

require_relative is faster as it requires fewer directory traversals

Signed-off-by: Tim Smith tsmith@chef.io

require_relative is faster as it requires fewer directory traversals

Signed-off-by: Tim Smith <tsmith@chef.io>
@tas50
tas50 merged commit 9b66340 into master Jan 24, 2020
@tas50
tas50 deleted the require_relative branch January 30, 2022 01:05
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.

1 participant