Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 474317
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:16:31+00:00 2026-05-13T00:16:31+00:00

EDIT: Specifically compression and extraction speeds. Any Suggestions? Thanks

  • 0

EDIT: Specifically compression and extraction speeds.

Any Suggestions?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T00:16:31+00:00Added an answer on May 13, 2026 at 12:16 am

    So I made a random-ish large zipfile:

    $ ls -l *zip
    -rw-r--r--  1 aleax  5000  115749854 Nov 18 19:16 large.zip
    $ unzip -l large.zip | wc
       23396   93633 2254735
    

    i.e., 116 MB with 23.4K files in it, and timed things:

    $ time unzip -d /tmp large.zip >/dev/null
    
    real    0m14.702s
    user    0m2.586s
    sys         0m5.408s
    

    this is the system-supplied commandline unzip binary — no doubt as finely-tuned and optimized as a pure C executable can be. Then (after cleaning up /tmp;-)…:

    $ time py26 -c'from zipfile import ZipFile; z=ZipFile("large.zip"); z.extractall("/tmp")'
    
    real    0m13.274s
    user    0m5.059s
    sys         0m5.166s
    

    …and this is Python with its standard library – a bit more demanding of CPU time, but over 10% faster in real, that is, elapsed time.

    You’re welcome to repeat such measurements of course (on your specific platform — if it’s CPU-poor, e.g a slow ARM chip, then Python’s extra demands of CPU time may end up making it slower — and your specific zipfiles of interest, since each large zipfile will have a very different mix and quite possibly performance). But what this suggests to me is that there isn’t that much space to build a Python extension much faster than good old zipfile — since Python using it beats the pure-C, system-included unzip!-)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 226k
  • Answers 226k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer foreach( $contents as $key => $value) { if($key == "price")… May 13, 2026 at 1:11 am
  • Editorial Team
    Editorial Team added an answer http://flexgeek.wordpress.com/2007/05/30/tutorial-using-same-itemrenderer-for-multiple-columns/ From the article "...we have to implement the interface… May 13, 2026 at 1:11 am
  • Editorial Team
    Editorial Team added an answer Try this: select * from table where length(somefield) > 255;… May 13, 2026 at 1:11 am

Related Questions

I'm am looking for specific suggestions or references to an algorithm and/or data structures
How can I reorder the keys in a multi-array? For example, I have: $arr[abc][0]
I keep getting this suggestion from many fellow developers over and over again. In
I have recently implemented an Action that toggles the enabled status of a business
Is there a Java equivalent to .NET Reflector ? Edit: more specifically, decompiling is

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.