From f0aa0a21b213a23fdd9f0ad4033f620824197c1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 1 Sep 2014 07:38:27 +0200 Subject: core: optimize completion by using arraylists With arraylist (vs weelist), the completion is about 50x faster. It is visible on "/help [+tab]". --- src/plugins/plugin-api.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/plugins') 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"), -- cgit v1.2.3