Re: Performance improvement - extract single match

2024-03-14 Thread Sergey Poznyakoff
Hi Philip, > When > tar --extract --file test.tar filename > has found and written the contents of "filename", it could stop, but does not. > > I assume this is because archive members with matching names could be present > more than once, therefore the whole archive must be scanned. Please us

Performance improvement - extract single match

2024-03-14 Thread Philip Rowlands
When tar --extract --file test.tar filename has found and written the contents of "filename", it could stop, but does not. I assume this is because archive members with matching names could be present more than once, therefore the whole archive must be scanned. However, in the common use-case p