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

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

PSPP-BUG: [bug #22629] Datasheet/Casereader/GtkSheet optimisation


From: John Darrington
Subject: PSPP-BUG: [bug #22629] Datasheet/Casereader/GtkSheet optimisation
Date: Mon, 17 Mar 2008 01:31:13 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.13pre) Gecko/20070505 Iceape/1.0.9 (Debian-1.0.11~pre071022-0etch1)

URL:
  <http://savannah.gnu.org/bugs/?22629>

                 Summary: Datasheet/Casereader/GtkSheet optimisation
                 Project: PSPP
            Submitted by: jmd
            Submitted on: Monday 03/17/08 at 09:31
                Category: Graphical User Interface
                Severity: 3 - Ordinary
                  Status: None
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
                  Effort: 0.00

    _______________________________________________________

Details:

Opening certain kinds of data experiences unacceptable delay, while the
casereader iterates its data, in order to find the total number of cases.

src/data/datasheet.c lib/gtksheet/gtksheet.c and all layers in between,
currently have functions of the form:

 int get_number_of_cases (object *);

In most instances, gtksheet ends up using this function, thus:

if ( get_number_of_cases (o) >= max_rows))
 {
 }

Hence it doesn't actually need to know the total number.  Instead, we should
replace these functions with ones like

bool case_count_exceeds (object *, int x);






    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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