-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
✨ Read files content lazily [joelanford edits] #16
Closed
joelanford
wants to merge
9
commits into
nlepage:feature/lazy-read
from
joelanford:feature/lazy-read
Closed
✨ Read files content lazily [joelanford edits] #16
joelanford
wants to merge
9
commits into
nlepage:feature/lazy-read
from
joelanford:feature/lazy-read
Commits on Jul 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b8bf38c - Browse repository at this point
Copy the full SHA b8bf38cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 97682bb - Browse repository at this point
Copy the full SHA 97682bbView commit details -
keep track of offset of each entry's data
use the offset to avoid iterating tar file when opening each file. Signed-off-by: Joe Lanford <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 592f9c1 - Browse repository at this point
Copy the full SHA 592f9c1View commit details -
if the reader is not a readerAt, read it into a buffer
after we've read the non-readerAt reader into a buffer, we now have a readerAt either way, which simplifies code and no longer requires separate buffers per file entry. Signed-off-by: Joe Lanford <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 10a4e22 - Browse repository at this point
Copy the full SHA 10a4e22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81414a6 - Browse repository at this point
Copy the full SHA 81414a6View commit details -
Reading file content straight from the underlying reader was too straightforward. Instead read from a new tar.Reader with an underlying reader pointing straight to the tar entry we want to read.
Configuration menu - View commit details
-
Copy full SHA for fc163f7 - Browse repository at this point
Copy the full SHA fc163f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 653ea9a - Browse repository at this point
Copy the full SHA 653ea9aView commit details -
Forward Seek method on ReadCounter when possible
Should improve initial read of the tar file.
Configuration menu - View commit details
-
Copy full SHA for 4470b8a - Browse repository at this point
Copy the full SHA 4470b8aView commit details
Commits on Aug 4, 2023
-
make io.Seeker implementation optional
Signed-off-by: Joe Lanford <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 31be8d2 - Browse repository at this point
Copy the full SHA 31be8d2View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.