summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-08-10 17:18:12 +0200
committerSebastien Helleu <flashcode@flashtux.org>2013-08-10 17:18:12 +0200
commit6714d6fc820e56ea53cd67e604a0928e7a974e84 (patch)
treedba649c6bc5bc2c0135c1823112809db602bfc80 /ChangeLog
parenta5cbfdf7fd38a14be47c898a66aac5737bbb1c4b (diff)
downloadweechat-6714d6fc820e56ea53cd67e604a0928e7a974e84.zip
core: optimize the removal of lines in buffers (a lot faster to clear/close buffers with lot of lines)
The update of variables "buffer_max_length" and "prefix_max_length" in struct t_gui_lines is now delayed and made during the main refresh (in main loop). For a buffer with 50K lines, it is up to 3300 times faster to clear/close it. For a buffer with 4096 lines (default limit), it is up to 120 times faster.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog2
1 files changed, 2 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 551a2f849..50f5dd82c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,8 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
Version 0.4.2 (under dev!)
--------------------------
+* core: optimize the removal of lines in buffers (a lot faster to clear/close
+ buffers with lot of lines)
* core: change color format for options weechat.look.buffer_time_format and
weechat.look.prefix_{action|error|join|network|quit} from `${xxx}` to
`${color:xxx}`