gwt /
gwt /
0b425d4b7ea40b1a5f553bf0e6c6a06c0490083c Deferring updating column widths until the redraw loop executes in a finally command. Currently, every time the user adds or removes a column, we refresh the widths of all columns. This leads to an O(n^2) creation time for the table. Resetting the column widths in the redraw loop reduces that to O(n), and is consistent with the rendering implementation of the table itself. We use a dirty bit to indicate that the column widths need to be updated, to avoid unnecessary work in the redraw loop. When setting or clearing column widths, we update the affectected col element synchronously.
Review at http://gwt-code-reviews.appspot.com/1509808
Review by: pengzhuang@google.com
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@10517 8db76d5a-ed1c-0410-87a9-c151d255dfc7
2 files changed