A new version of Widgetry has been published: Version 0.6 : 30104 Tests.
What's New
Grid Optimization is now complete. Scrolling in a Grid is now up to 15x faster. I say up to, because that depends on how much is scrolled. Scrolling just one line, up or down, is in some cases (big lists) much MORE than 15x faster. Paging is at least 3x faster, and at most 15x faster, again, depending on the size of the list the complexity of the cells and number of visible lines.
Furthermore, changing the selection index is roughly 6x faster. This is not affected by the number of items either in the list or visible. It is only affected (and only a small percent) by the complexity of the cells being displayed.
While I was at it, and because some of the work was done in the EnumerationPane superclasses, ListBox and TreeView optimization is also done. These got about a 6x overall increase in scrolling and in selection changing. These had mostly to do with doing less drawing.
In fact, in a specific situation, an Enumeration pane can actually seem to be infinitely faster. This is because, like their Wrapper cousins, they now do smarter invalidation, and queue up damage better than they did until a quiescent time when a final invalidation or damage repair happen.
Also in this release are the following Stop The Line changes:
- Fixed problem with sortOnColumn: where if there are now rows it would UHE.
- Simple optimization of adding/removing panes causing a lot of updating
- Fix agent mixup with changing between read only and word wrapped modes of TextEdit
- Fix allScrollbars in TextEdit leaving behind dead corner splotches
- Fix allScrollbars when going between word wrapped and non word wrapped modes in TextEdit
- Fix general scrollbars when moving between various read only, and word wrapped combinations of modes in TextEdit.
- Fixed DisplayLabel to only display/clear background when background color is not set and is not default.
What's Next
- Frame Optimization.
- Right Align/Calculator input/display for InputField
And So It GoesSames