mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
GailTreeView: optimize a bit
Avoid many unnecessary list iterations by using a hash table to store cell infos, and caching row and column counts. Based on patches by William Jon McCann, bug 554171. tree-performance results: before: (MINPERF:large tree test with a11y: 9.18531sec) after: (MINPERF:large tree test with a11y: 0.923463sec) for comparison, without accessibility: (MINPERF:large tree test: 0.016179sec)
This commit is contained in:
parent
23bc606c79
commit
2deeab4c4f