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

changes to support large index files #603

Merged
merged 9 commits into from
Feb 5, 2024
Merged

Conversation

edwardhartnett
Copy link
Contributor

@edwardhartnett edwardhartnett commented Feb 5, 2024

Part of #550

This PR contains changes to start to support the index files for > 2 GB.

In this PR I switch to using bareadl() instead of baread() for the ixgb2() subroutine. To maintain backward compatibility I introduce a new ix2gb2() subroutine, which will accept the index version as a parameter. Calling ixgb2() will call ix2gb2() with an index version of 1 (i.e. legacy behavior). But ix2gb2() can be used on files larger than 2 GB.

I would like to merge these changes incrementally, rather than as one giant PR. The changes in this PR have no effect on functionality at the moment, but allow for the next version of the index to be supported in future PRs.

@edwardhartnett edwardhartnett marked this pull request as ready for review February 5, 2024 16:59
@edwardhartnett edwardhartnett merged commit 4228084 into develop Feb 5, 2024
54 checks passed
@edwardhartnett edwardhartnett deleted the ejh_index_again branch February 5, 2024 21:29
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