range_trim
- From: "Andreas J. Guelzow" <aguelzow math concordia ab ca>
- To: gnumeric-list <gnumeric-list gnome org>
- Subject: range_trim
- Date: Tue, 09 Oct 2001 23:40:41 -0600
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?
Andreas
--
Prof. Dr. Andreas J. Guelzow
Assoc. Prof of Mathematics
Concordia University College of Alberta
http://www.math.concordia.ab.ca/aguelzow
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]