qutebrowser/qutebrowser
Jay Kamat 33d9d4fe90
Improve performance of startup and shutdown
We call 'update_tab_titles' a lot of times which calls 'setTabText' on
every tab. 'setTabText' calls tabSizeHint and minTabSizeHint on every
tab as well, meaning this is an n^2 operation repeated many times.

First, this prevents setTabText from being called unless it's needed,
removing most of the work done.

Second, I remove tabs in reverse, to avoid recomputing the above for
every tab on shutdown (which is at least n^3)
2018-02-10 13:23:35 -05:00
..
browser Merge remote-tracking branch 'origin/pr/3577' 2018-02-10 11:40:49 +01:00
commands Fix docstring 2018-02-10 16:54:45 +01:00
completion Update copyright years 2018-02-05 12:19:50 +01:00
config Merge remote-tracking branch 'origin/pr/3430' 2018-02-10 16:27:41 +01:00
html Merge remote-tracking branch 'origin/pr/3558' 2018-02-09 22:50:00 +01:00
img New qutebrowser logo! 2016-04-14 17:44:38 +02:00
javascript Remove eslint max-lines suppression 2018-02-08 09:51:06 +01:00
keyinput Update copyright years 2018-02-05 12:19:50 +01:00
mainwindow Improve performance of startup and shutdown 2018-02-10 13:23:35 -05:00
misc Don't try to remove watched files if none exist 2018-02-08 10:29:17 +01:00
utils Update copyright years 2018-02-05 12:19:50 +01:00
__init__.py Update copyright years 2018-02-05 12:19:50 +01:00
__main__.py Update copyright years 2018-02-05 12:19:50 +01:00
app.py Update copyright years 2018-02-05 12:19:50 +01:00
qutebrowser.py Update copyright years 2018-02-05 12:19:50 +01:00
resources.py Regenerate resources 2016-04-14 17:59:28 +02:00