Re: Iterative visiting of all source files
RJD <[email protected]> Fri, 27 Mar 2015 14:09:27 +0000 (UTC)
| Newsgroups | gmane.emacs.semantic |
|---|---|
| Message-ID | <[email protected]> |
Eric Ludlam <eric <at> siege-engine.com> writes: > (semanticdb-find-translate-path nil nil) > > See its doc for more about what it can do. Hi, I am now using a front end that uses semantic as a back-end; this is good. But, I have noticed this for a while now: The code base I work with is large. When I open a file in the code base semantic will parse the buffer and this takes a second or two (it is written good enough so that if I want to still move the cursor during parsing I can: that is, Emacs does not freeze). Then, perhaps I move to a class method (someClass.cpp:someMethod()) and I type the substring of a member of the class: _someMem Semantic takes anywhere between 10-30 seconds before I get a response (again, it is interruptible). But I do not think this should be happening at all. I expect it to almost be instant because I have been to this file so many times and there is an existing "!*!semantic.cache" file for this directory and it saves and gets updated every time. - So why does it takes so long for semantic to give me results even if there is a db cache? ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/