bugPSPP - Bugs: bug #22629, Datasheet/Casereader/GtkSheet...


bug #22629: Datasheet/Casereader/GtkSheet optimisation

Submitted by:  John Darrington <jmd>
Submitted on:  Mon 17 Mar 2008 01:31:12 AM UTC  
Category:  Graphical User Interface Severity:  3 - Ordinary
Status:  Wont Fix Assigned to:  None
Open/Closed:  Closed Release:  Future
Effort:  0.00

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 06 May 2019 01:33:50 PM UTC, comment #1: 

This issue it now moot, since the sheet works in a different way and this symptom is no longer manifest.

John Darrington <jmd>
Project Administrator
Mon 17 Mar 2008 01:31:12 AM UTC, original submission:  

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);

John Darrington <jmd>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by blp (Updated the item)
  • -email is unavailable- added by jmd (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-05-06 jmd StatusNone => Wont Fix
        Open/ClosedOpen => Closed
    2011-05-14 blp ReleasePost-0.6.0 => Future
    2008-03-17 jmd ReleaseNone => Post-0.6.0

    Back to the top

    Powered by Savane 3.5