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

macho: store open file descriptors globally #108

Merged
merged 2 commits into from
Feb 6, 2024
Merged

macho: store open file descriptors globally #108

merged 2 commits into from
Feb 6, 2024

Conversation

kubkon
Copy link
Owner

@kubkon kubkon commented Feb 5, 2024

This means we hand out indexes into this array to object files thereby allowing a single file descriptor per archive rather than be required to clone it per each object file that resides within.

This is an alternative to #107 which resolves upstream issue ziglang/zig#18827 while preserving the performance status quo.

EDIT: supersedes #107

This means we hand out indexes into this array to object files
thereby allowing a single file descriptor per archive rather than
be required to clone it per each object file that resides within.
@kubkon kubkon marked this pull request as ready for review February 6, 2024 09:11
@kubkon kubkon merged commit 037c71a into main Feb 6, 2024
14 checks passed
@kubkon kubkon deleted the macho-fds-2 branch February 6, 2024 10:19
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