Page 1 of 1

Feature request: packer extension blacklist

Posted: 2016-12-11, 01:25 UTC
by mar
Hi, I'd like to propose a new option for packers (especially for integrated zip packer) to "blacklist"
certain file extensions that would be stored in the archive instead of deflated.

What comes to mind: png, jpg, ...

The reason is to have faster (de)compression (and of course possibility to random-access such files).

AFAIK Android packages already do something similar.

I understand that this would require substantial amount of work, but it would make TC even more awesome (at least for me)

Posted: 2016-12-11, 10:30 UTC
by Horst.Epp
I guess in a modern PC this would not gain any substanial time saving on reading the archive and is therefore not worth the time to develop.
Also the archive libraries used by TC may not having such feature.
To my knowledge WinRAR analyses the files to be packed
and selects its parameters accordingly.

Posted: 2016-12-11, 11:33 UTC
by mar
Thanks for the reply.

My motivation is to save decompression time in a zip-based virtual filesystem in my application.

But you are right that this feature is perhaps not so useful for the vast majority of users.

In fact, it should be possible to write a packer plugin that would support exactly what I need.

Posted: 2016-12-12, 14:19 UTC
by MarcinW
Implementing the feature, that mar suggests, could make a compression time noticeably shorter, even on modern computers.

Posted: 2016-12-12, 16:05 UTC
by Horst.Epp
MarcinW wrote:Implementing the feature, that mar suggests, could make a compression time noticeably shorter, even on modern computers.
He wants to shorten the decompression time !

Re: Feature request: packer extension blacklist

Posted: 2016-12-12, 16:16 UTC
by MarcinW
mar wrote:The reason is to have faster (de)compression
I think that mar wants to have faster compression and decompression times.

And beside mar's needs, this improvement could be generally useful.

Regards