Closed koic closed 6 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.
$LOAD_PATH
require_relative
@koic thank you very much! i've just released v2.9.1 with your improvement.
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.