Re: range_trim
- From: Jody Goldberg <jgoldberg home com>
- To: "Andreas J. Guelzow" <aguelzow math concordia ab ca>
- Cc: gnumeric-list <gnumeric-list gnome org>
- Subject: Re: range_trim
- Date: Thu, 25 Oct 2001 02:28:24 -0400
On Tue, Oct 09, 2001 at 11:40:41PM -0600, Andreas J. Guelzow wrote:
Hi
perhaps I am missing the point, but is range_trim intentionally written
to be slow? sheet_is_region_empty checks essentially every cell in
range. Therefore if the range has many rows to trim it checks most
cells, if there are no rows to trim it checks the cells in the last row
about log n times. Wouldn't it be usually be faster simply to start at
the bottom and check whether the row is empty and trim it if possible?
Slightly less foolish now.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]