Replies: 4 comments 2 replies
-
Hi!
Thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for your reply.
Please test with the attachment.
I am sure it is very slow.
范
***@***.***
…------------------ 原始邮件 ------------------
发件人: "rikyoz/bit7z" ***@***.***>;
发送时间: 2025年1月17日(星期五) 凌晨5:05
***@***.***>;
***@***.******@***.***>;
主题: Re: [rikyoz/bit7z] extract very slowly (Discussion #272)
Hi!
Sorry for the late reply.
This is really strange!
How fast is the 3.2.0 in seconds?
Could you provide the zip file?
Thank you!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry, there's no file attached to your comment. Maybe you're responding via email instead of GitHub and the file got lost. Could you try uploading it again using the GitHub interface? Thank you very much! |
Beta Was this translation helpful? Give feedback.
2 replies
-
That's great.
Thank you!
范
***@***.***
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2025年1月21日(星期二) 凌晨5:50
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [rikyoz/bit7z] extract very slowly (Discussion #272)
Thanks for the download link, it helped me reproduce the problem.
I still need to investigate it further, but from some quick tests it seems that the problem is related to issue #224, which was actually about compression, but both operations use the same code to read from and write to the file system.
Long story short, bit7z v4.0 uses C++'s standard file streams to handle file operations in a cross-platform way. Unfortunately, the performance of standard file streams sucks.
In recent patch versions of v4.0, I implemented some workarounds to mitigate the issue, but the problem is still there.
For the next v4.1 (branch develop), I basically rewrote the file handling code to use the operating system's native functions, which greatly improved performance, and is now closer to v3.2 (which used 7-Zip's code directly instead).
You can test this branch if you like.
There's still some room for improvement though, so I'll definitely be working on that to make up for the lost performance from v3.2.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This zip file is about 300 megabytes long and contains thousands of small files and folders,When I use 3.2.0 to extract is fast, but recently when I use 4.0.0 or 4.0.9, both 7z and zip compressed files are very slow, taking 90 seconds,why?Here is my code
Beta Was this translation helpful? Give feedback.
All reactions