Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

IO::Uncompress::Gunzip to scalar takes hours (on windows)

by cmv (Chaplain)
on May 21, 2013 at 15:40 UTC ( #1034568=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    use strict;
    #gunzip \$inputstr => \$cleartxt or die "gzip failed: $GunzipError\n";
    print STDERR scalar(localtime), " - UNZIPPED COMPLETE!!!\n";
  2. or download this
    Total Elapsed Time = 3.667486 Seconds
      User+System Time = 1.200486 Seconds
     1.33   0.016  0.060      9   0.0018 0.0067  IO::Uncompress::Gunzip::B
     1.25   0.015  0.015     10   0.0015 0.0015  strict::unimport
     1.25   0.015  0.030     37   0.0004 0.0008  IO::Compress::Base::Commo
  3. or download this
    Total Elapsed Time = 154.4478 Seconds
      User+System Time = 154.2188 Seconds
     0.01   0.016  0.016      8   0.0020 0.0020  Exporter::export
     0.01   0.016  0.016      7   0.0023 0.0023  IO::File::BEGIN
     0.01   0.016  0.016     26   0.0006 0.0006  Compress::Raw::Zlib::BEGI

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1034568]
Front-paged by Corion
[james28909]: i dunno, if i didnt have so little experience in linux i would swap. but it would be to much of a learning curve for me right now.
[choroba]: Low-end is defined as the Perl that generates millions of income
[choroba]: sorry, that's high-end, of coursse
[choroba]: low end, in my talk, will be code that "we don't touch because it works" and noone knows why
[choroba]: I want to present the most bizzare bugs and misfeatures I met when working for a large financial institution
[choroba]: I already gave a similar talk to my friends in a pub and at an internal conference at work and people liked it, so maybe...
[choroba]: LanX: That's the heritage, I can't do anything else
[RonW]: Sounds like some system my employer has "It does exactly what we need it to do and can't afford to risk anything we can't prove is 100% compatible"
[marto]: choroba sounds interesting
[RonW]: james28909 Why not write a Perl program to do the task?

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2017-05-22 21:37 GMT
Find Nodes?
    Voting Booth?