https://bugs.kde.org/show_bug.cgi?id=358482

Milian Wolff <m...@milianw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|release_blocker             |

--- Comment #2 from Milian Wolff <m...@milianw.de> ---
OK, lets remove the tag. I do think it should be implemented though.

Currently, we put the clang data into the IAstPtr. That one only gets cleared
once the file is not opened in the editor anymore. That means, if you have a
hundred files open in KDevelop, you'll keep a hundred clang TUs in memory,
which has a significant impact.

Instead, we should not store the data in the IAstPtr but instead have our own
kdev-clang specific thread-safe LRU that caches the last N clang TUs.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to