Read files in chunks instead of all at once
discentem opened this issue · comments
Is it "better" if we read in chunks instead of all at once?
Example: https://github.com/discentem/pantri_but_go/blob/main/stores/local/local.go#L91
We should absolutely read in chunks for all use cases when possible (downloading, uploading and hashing).