diff options
author | rowanbeentje <rowan@beent.je> | 2009-10-21 09:34:36 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-10-21 09:34:36 +0000 |
commit | 83c761cbd4d20dbb46f92865051d8060a50284c8 (patch) | |
tree | 3b52da91b61f2eb3105e6c1c130f6efbe13029a1 /Source | |
parent | 78791e54c5e5a710f67486b274e0a0b0d98ea917 (diff) | |
download | sequelpro-83c761cbd4d20dbb46f92865051d8060a50284c8.tar.gz sequelpro-83c761cbd4d20dbb46f92865051d8060a50284c8.tar.bz2 sequelpro-83c761cbd4d20dbb46f92865051d8060a50284c8.zip |
- 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
Diffstat (limited to 'Source')
-rw-r--r-- | Source/TableContent.m | 2 | ||||
-rw-r--r-- | 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; |