From 83c761cbd4d20dbb46f92865051d8060a50284c8 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Wed, 21 Oct 2009 09:34:36 +0000 Subject: - Improve responsiveness/speed when loading table content by not forcing table redraw on new data, and increase the accuracy of the determinate progress as forced redraws are no longer an issue --- Source/TableContent.m | 2 +- Source/TableDocument.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/TableContent.m b/Source/TableContent.m index 36eaa2e2..2dc18727 100644 --- a/Source/TableContent.m +++ b/Source/TableContent.m @@ -1418,7 +1418,7 @@ } if (rowsProcessed > nextTableDisplayBoundary) { - [tableContentView reloadData]; + [tableContentView noteNumberOfRowsChanged]; nextTableDisplayBoundary *= 3; } } diff --git a/Source/TableDocument.m b/Source/TableDocument.m index cec12d09..2d972e60 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -97,7 +97,7 @@ taskDisplayIsIndeterminate = YES; taskDisplayLastValue = 0; taskProgressValue = 0; - taskProgressValueDisplayInterval = 5; + taskProgressValueDisplayInterval = 1; taskDrawTimer = nil; keyChainID = nil; -- cgit v1.2.3