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 InterfaceSeverity: 3 - Ordinary
Status: NoneAssigned to: None
Open/Closed: OpenRelease: 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 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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 14 May 2011 04:51:59 AM UTCblpReleasePost-0.6.0=>Future
    Mon 17 Mar 2008 01:34:22 AM UTCjmdReleaseNone=>Post-0.6.0

    Back to the top

    Powered by Savane 3.1-cleanup1