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

Only create one Mojo::File object for curfile #1411

Merged
merged 1 commit into from
Sep 25, 2019
Merged

Only create one Mojo::File object for curfile #1411

merged 1 commit into from
Sep 25, 2019

Conversation

Grinnz
Copy link
Contributor

@Grinnz Grinnz commented Sep 25, 2019

Summary

Call Cwd::realpath directly, avoiding instantiating an intermediary Mojo::File object.

Motivation

Optimization

References

@kraih kraih merged commit 02bd3d5 into master Sep 25, 2019
@kraih
Copy link
Member

kraih commented Sep 25, 2019

Overruled. 😉

@Grinnz Grinnz deleted the curfile_direct branch September 25, 2019 19:36
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.

2 participants