Closed mdamien closed 3 years ago
Since the loading takes a lot of time on my computer (it should take ~2 days), I added a progress bar :smiley:
I don't think reading the archive twice is an acceptable solution, it's too inefficient.
Gonna try to fix that, doing a simple ˋtqdm(list(archive))` didn’t work (another error appeared) so I made this hack
A tarball doesn't have an index, so there's no way to know how many files it contains without reading it entirely. However, if we could get the byte offset of the current entry within the archive, then we could have a proper progress bar.
Since the loading takes a lot of time on my computer (it should take ~2 days), I added a progress bar :smiley: