1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 18:53:12 +02:00

core: optimize completion by using arraylists

With arraylist (vs weelist), the completion is about 50x faster.
It is visible on "/help [+tab]".
This commit is contained in:
Sébastien Helleu
2014-09-01 07:38:27 +02:00
parent dda1a66fd7
commit f0aa0a21b2
5 changed files with 259 additions and 207 deletions
-2
View File
@@ -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"),