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

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

PSPP-BUG: [bug #24801] No undo function


From: Ben Pfaff
Subject: PSPP-BUG: [bug #24801] No undo function
Date: Mon, 10 Nov 2008 22:00:53 +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 #2, bug #24801 (project pspp):

>I can't think of any general and efficient way to undo the effect 
>of an EXECUTE command.

General and efficient?  Me neither.  But it would be pretty easy to undo it
in a general way, by keeping around the old casereader.  The need to preserve
other parts of the dataset (e.g. dictionary) make it slightly nontrivial, but
still it wouldn't be that hard.

The cost, at most, would be doubling the memory and disk requirements (for a
single level of undo).

Do we run EXECUTE after every operation?  We wouldn't necessarily have to do
that; for example, most transformations can be simulated on a per-case basis. 
But that would not be a simple change (even though it would be convenient for
users).

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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