Speed up rendering of columns in sheet.
authorJohn Darrington <john@darrington.wattle.id.au>
Tue, 1 Mar 2016 05:24:54 +0000 (06:24 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 1 Mar 2016 05:24:54 +0000 (06:24 +0100)
commit81f50c24cae1f7b007c38b763c06ccc766333c81
tree402c05a1bd463ae328b167c6ba033e65d2f091c3
parentc53281c37e9c9eb9ade531223084ce4c059fe166
Speed up rendering of columns in sheet.

This change causes _pspp_sheet_view_install_mark_rows_col_dirty to be called once
per sheet, instead of once per column when adding/deleting columns.  Hence there
is a significant speed improvement when dealing with a data sheet with a large
number of variables.

Fixes bug #47090
src/ui/gui/pspp-sheet-private.h
src/ui/gui/pspp-sheet-view-column.c
src/ui/gui/pspp-sheet-view.c