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

Move reopen functionality to a new trait #189

Merged
merged 1 commit into from
Oct 13, 2023
Merged

Move reopen functionality to a new trait #189

merged 1 commit into from
Oct 13, 2023

Conversation

chenxiaolong
Copy link
Owner

This is still not the ideal API, but it makes the code quite a bit more readable since we no longer have to pass around closures everywhere that multithreaded reads and writes to the same file are needed.

@chenxiaolong chenxiaolong self-assigned this Oct 12, 2023
This is still not the ideal API, but it makes the code quite a bit more
readable since we no longer have to pass around closures everywhere that
multithreaded reads and writes to the same file are needed.

Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
@chenxiaolong
Copy link
Owner Author

Looks like this reduces the binary size by about 200KB too.

@chenxiaolong chenxiaolong merged commit 6d8268e into master Oct 13, 2023
@chenxiaolong chenxiaolong deleted the reopen branch October 13, 2023 21:31
chenxiaolong added a commit that referenced this pull request Oct 13, 2023
Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
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

1 participant