diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2014-09-01 07:38:27 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2014-09-01 11:51:04 +0200 |
commit | f0aa0a21b213a23fdd9f0ad4033f620824197c1b (patch) | |
tree | 0f605f298e27ff81d97081021f507a1d2f1bfce2 /src/plugins | |
parent | dda1a66fd738152e41fc2ab21e1d6835e2c43aab (diff) | |
download | weechat-f0aa0a21b213a23fdd9f0ad4033f620824197c1b.zip |
core: optimize completion by using arraylists
With arraylist (vs weelist), the completion is about 50x faster.
It is visible on "/help [+tab]".
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/plugin-api.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/plugin-api.c b/src/plugins/plugin-api.c index ca3c5ed5d..661939251 100644 --- a/src/plugins/plugin-api.c +++ b/src/plugins/plugin-api.c @@ -1298,8 +1298,6 @@ plugin_api_init () &gui_buffer_hdata_buffer_visited_cb, NULL); hook_hdata (NULL, "completion", N_("structure with completion"), &gui_completion_hdata_completion_cb, NULL); - hook_hdata (NULL, "completion_partial", N_("structure with partial completion"), - &gui_completion_hdata_completion_partial_cb, NULL); hook_hdata (NULL, "config_file", N_("config file"), &config_file_hdata_config_file_cb, NULL); hook_hdata (NULL, "config_section", N_("config section"), |