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

Truncate instead of resize in unix impl #14

Merged
merged 1 commit into from
May 4, 2024

Conversation

AnthonyMikh
Copy link
Contributor

It should not change performance much - in fact a quick check on godbolt reveals that two versions likely compile to the same assembly - but I believe it communicates the intent more clearly.

@swsnr swsnr merged commit 507a59a into swsnr:main May 4, 2024
7 of 8 checks passed
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