New submission from JuniorJPDJ <bugs.python....@juniorjpdj.pl>:

At the moment stored ZipExtFile is being read to the place of seek like all 
other compressed variants.
It's not needed as it's possible to freely seek uncompressed file inside zip 
without this penalty.

Lots of apps depend on ZipExtFile seeking ability and it would lower 
performance and IO penalty significantly.

I've POC patch created.
It disables CRC checking after first seek as it's impossible to check CRC if we 
are not reading whole file.

----------
components: Library (Lib)
messages: 393918
nosy: juniorjpdj
priority: normal
severity: normal
status: open
title: Stored (uncompressed) ZipExtFile in zipfile can be seekable at lower cost
type: enhancement
versions: Python 3.11

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44173>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to