[issue44173] Stored (uncompressed) ZipExtFile in zipfile can be seekable at lower cost

2021-08-18 Thread Gregory P. Smith


Change by Gregory P. Smith :


--
assignee:  -> gregory.p.smith
nosy: +gregory.p.smith

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44173] Stored (uncompressed) ZipExtFile in zipfile can be seekable at lower cost

2021-08-11 Thread JuniorJPDJ


Change by JuniorJPDJ :


--
pull_requests: +26217
pull_request: https://github.com/python/cpython/pull/27737

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44173] Stored (uncompressed) ZipExtFile in zipfile can be seekable at lower cost

2021-08-11 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
nosy: +alanmcintyre, serhiy.storchaka, twouters

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44173] Stored (uncompressed) ZipExtFile in zipfile can be seekable at lower cost

2021-05-18 Thread JuniorJPDJ


Change by JuniorJPDJ :


--
keywords: +patch
pull_requests: +24844
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/26227

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44173] Stored (uncompressed) ZipExtFile in zipfile can be seekable at lower cost

2021-05-18 Thread JuniorJPDJ


New submission from JuniorJPDJ :

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com