[Top][All Lists]

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

[Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.7.9-893-gd0f2a

From: Ben Pfaff
Subject: [Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.7.9-893-gd0f2ab9
Date: Tue, 25 Jun 2013 06:07:35 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU PSPP".

The branch, master has been updated
       via  d0f2ab98f2b05a4641cb0d1d042fbe2ad89444aa (commit)
      from  bd981ce2f73ef902f90362913c8cac741f86e1e7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d0f2ab98f2b05a4641cb0d1d042fbe2ad89444aa
Author: Ben Pfaff <address@hidden>
Date:   Mon Jun 24 23:07:12 2013 -0700

    datasheet: Avoid reading a given row more than necessary in source_read().
    The datasheet casereader uses datasheet_get_row(), which calls rw_case(),
    which until this commit called source_read() for every column.  The latter
    was expensive if casereader_peek() actually copied data for a whole large
    row.  For a datasheet with N columns, all from a single backing source,
    the upshot was that datasheet_get_row() took O(N**2) time.
    This commit fixes the problem in the common case by reading as many columns
    as possible from a given source in a single call to source_read().
    Bug #33260.


Summary of changes:
 src/data/datasheet.c |  108 +++++++++++++++++++++++++++++++-------------------
 1 files changed, 67 insertions(+), 41 deletions(-)


reply via email to

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