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

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

PSPP-BUG: [bug #20910] GUI becomes extremely slow after executing syntax


From: John Darrington
Subject: PSPP-BUG: [bug #20910] GUI becomes extremely slow after executing syntax which doesn't read the data
Date: Wed, 12 Sep 2007 05:52:04 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060607 Debian/1.7.12-1.2

Follow-up Comment #5, bug #20910 (project pspp):

> Is it what you had in mind?

More or less.  Here's some additional comments:

1. Consider renaming lazy_casereader_destroy.  It doesn't destroy the
casereader. It (conditionally) destroys the status, (and returns some state
from it).  Maybe just call it lazy_status_destroy or
lazy_casereader_is_instantiated ?

2. It would follow the OO paradigm more closely if there was a struct called
struct lazy_casereader, which inhereted from an ordinary casereader.  It would
need to contain extra state (what's currently in struct lazy_status) and would
need one extra method (currently performed by lazy_status_destroy).  That way,
we don't need a seperate lazy_status at all, so would make execute_syntax
simpler.  On the down side it's more work, and means exposing some of the
casereader internals so perhaps it's not worth the effort.



    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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