diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-06-22 15:47:21 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2022-06-23 11:48:12 +0200 |
commit | 9690f8c57b6b918604c662d53cd5ae18c6f9a15d (patch) | |
tree | ae60f360eee825893e75fff8e4683af864cdf52a /src/nvim/main.c | |
parent | dd591adf8a1d145b2fdf9115509bcc80c9ee7943 (diff) | |
download | rneovim-9690f8c57b6b918604c662d53cd5ae18c6f9a15d.tar.gz rneovim-9690f8c57b6b918604c662d53cd5ae18c6f9a15d.tar.bz2 rneovim-9690f8c57b6b918604c662d53cd5ae18c6f9a15d.zip |
perf(highlight): use binary search to lookup RGB color names
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r-- | src/nvim/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index 71c1ddfae1..2ddbbfbbfb 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -128,6 +128,7 @@ void event_init(void) channel_init(); terminal_init(); ui_init(); + TIME_MSG("event init"); } /// @returns false if main_loop could not be closed gracefully @@ -172,6 +173,8 @@ void early_init(mparm_T *paramp) (int)ovi.dwMajorVersion, (int)ovi.dwMinorVersion); #endif + TIME_MSG("early init"); + #if defined(HAVE_LOCALE_H) // Setup to use the current locale (for ctype() and many other things). // NOTE: Translated messages with encodings other than latin1 will not @@ -184,8 +187,7 @@ void early_init(mparm_T *paramp) if (!win_alloc_first()) { os_exit(0); } - - init_yank(); // init yank buffers + TIME_MSG("init first window"); alist_init(&global_alist); // Init the argument list to empty. global_alist.id = 0; |