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 a reference for the return value of slurp(file)(). #51

Closed
wants to merge 1 commit into from

Conversation

paulhuggett
Copy link
Owner

Avoids an unnecessary and potentially expensive copy.

Avoids an unnecessary and potentially expensive copy.
Copy link

Copy link

codecov bot commented Dec 13, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d20866e) 95.58% compared to head (4c22d83) 95.58%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #51   +/-   ##
=======================================
  Coverage   95.58%   95.58%           
=======================================
  Files          35       35           
  Lines        6426     6426           
=======================================
  Hits         6142     6142           
  Misses        284      284           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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