c-eldoc icon indicating copy to clipboard operation
c-eldoc copied to clipboard

Too many hangs when a large header set is included (e.g. webkitgtk)

Open Ambrevar opened this issue 7 years ago • 1 comments

If I include a large header set like webkitgtk:

(setq c-eldoc-includes "`pkg-config gtk+-3.0  --cflags` -I./ -I../ `pkg-config webkit2gtk-4.0 --cflags`")

then every out-of-cache lookups hangs for some seconds. This makes this package unusable. I haven't profiled it, but there might be some way to optimize this.

Ambrevar avatar Nov 08 '18 10:11 Ambrevar

Yeah, I suspect this is going to be due to running the preprocessor. Fixing this would be tons of work.

nflath avatar Nov 09 '18 04:11 nflath