[cedet-semantic] cedet over tramp too slow?
Brought to you by:
zappo
From: Rodrigo A. <ram...@la...> - 2013-01-17 20:47:05
|
Hi, now that I have a functionally correct setup to auto complete (M-TAB, complete-symbol) on a remote machine over tramp, I have now populated 'include-path' in my remote ede project with 45 include directories. 1. every time I start emacs in a file in that remote project it will take ~25 seconds to go through the init file. It seems to me that emacs is accessing each directory in include-path. 2. every time I try to auto complete for the first time in a cpp file then it will take more than 3 minutes to offer available matches. After that auto completion works fast fast. After restarting emacs on the SAME cpp file that behavior repeats. #1 above seems to be normal, probably unavoidable. But what's the actual reason for cedet to access those directories before being actually used for anything? #2 is a bit of a mystery. Why is that the semantic's cache (which is locally stored in my laptop) does not help on every emacs restart? On the other hand, locally in my laptop using the same source code tree, #1 and #2 are no issues. All is fast fast. Neat! Back in Oct 2011 there was a similar posting. From there I took that #2 above seems not to match expectations. It does not seem that the cache is being used in my case. many thanks in advance for any help, Rodrigo |