bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [bug #20161] support automatic (de)compression for system/port


From: Ben Pfaff
Subject: PSPP-BUG: [bug #20161] support automatic (de)compression for system/portable file I/O
Date: Sat, 16 Jun 2007 01:22:30 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061205 Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-1)

Follow-up Comment #4, bug #20161 (project pspp):

>I'm saying that if you pipe through gzip (or any compression 
>tool), then it produces nothing until it's input is closed. 
>Although "you" (pspp) will be reading cases sequentially, the gzip
>process will have to store them all in memory until after the 
>very last one. 

That's not at all true.  You can demonstrate this easily: run "gzip <
/dev/urandom > /dev/null" in one terminal, and "top" in another.  gzip will
use as much CPU as it can get, but its memory consumption is O(1).

>It'll mean for instance that reading/writing will be considerably
>slower, 

Possibly.  I bet it wouldn't be any slower on any mid-range to high-end
computer you buy off-the-shelf this year, though, because all of those are
multi-core.

>and the maximum possible number of cases will be smaller. 

I doubt it.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?20161>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]