summaryrefslogtreecommitdiff
path: root/plugins/autocorrect.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2015-05-08 20:37:21 +0200
committermathieui <mathieui@mathieui.net>2015-05-08 20:37:21 +0200
commitdfd60426d8da06c817c6d3f71901b4f1c013a819 (patch)
tree79fb8cf31b623cdd846311a0761b34a7b6cfb549 /plugins/autocorrect.py
parent3171c96eed40d24b3200a8f2af1da9bc7619ab39 (diff)
downloadpoezio-dfd60426d8da06c817c6d3f71901b4f1c013a819.tar.gz
poezio-dfd60426d8da06c817c6d3f71901b4f1c013a819.tar.bz2
poezio-dfd60426d8da06c817c6d3f71901b4f1c013a819.tar.xz
poezio-dfd60426d8da06c817c6d3f71901b4f1c013a819.zip
Micro-optimizations on refresh
Reduce the number of calls to config.get whenever possible. Yields a performance improvement of at least 10% for the basic use case of "receiving a message in the current tab". Logging stuff isn’t free either, even when the call should be a no-op, so we should try to make the debug log less verbose.
Diffstat (limited to 'plugins/autocorrect.py')
0 files changed, 0 insertions, 0 deletions