Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

m_TopNameSpaces in TokensTree class seems useless

<< < (2/2)

ironhead:

--- Quote from: MortenMacFly on October 21, 2010, 12:48:38 pm ---
--- Quote from: ollydbg on October 21, 2010, 10:02:46 am ---The cache was too big(eg. the codeblocks.cbp should have 100M memory size) to save to hard disk.

--- End quote ---
The case wasn't saved to the project file abut another (binary based) file. So the size would not be an issue. The question is if we need this to improve speed of scanning through large projects...

--- End quote ---

To that end, wouldn't it make sense to use the cache on project startup (i.e. load the file cache into memory) versus parsing all the project files again?  Perhaps this would improve the initial project parsing time?

Loaden:

--- Quote from: MortenMacFly on October 21, 2010, 12:48:38 pm ---
--- Quote from: ollydbg on October 21, 2010, 10:02:46 am ---The cache was too big(eg. the codeblocks.cbp should have 100M memory size) to save to hard disk.

--- End quote ---
The question is if we need this to improve speed of scanning through large projects...

--- End quote ---
But we need more IO(read/write) time, when save to hard disk, we need loop the whole tree, their need more time.
So, I personally think this is not needed.

MortenMacFly:

--- Quote from: Loaden on October 21, 2010, 01:21:45 pm ---So, I personally think this is not needed.

--- End quote ---
I personally believe it would only make sense for system headers, like STL, BOOST or alike. Or simply the compiler's include path would be something where a cache might e useful.

Besides that I see no use, indeed.

Navigation

[0] Message Index

[*] Previous page

Go to full version