diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2013-01-19 11:03:42 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2013-01-19 11:03:42 +0000 |
commit | 2f1328b35b9927a5b4c58c8f041c400d17ebd42d (patch) | |
tree | abbfac2bb4bc0b089209ec7e367829c303c7af67 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 055f4b4d00047cfd2a2fb360e8ea7874002de026 (diff) | |
download | llvm-2f1328b35b9927a5b4c58c8f041c400d17ebd42d.zip llvm-2f1328b35b9927a5b4c58c8f041c400d17ebd42d.tar.gz llvm-2f1328b35b9927a5b4c58c8f041c400d17ebd42d.tar.bz2 |
[cindex.py] Replace CachedProperty with our own implementation
This is a very performance critical point for auto completion. The manual
implementation gives a large speedup. As it does not complicate the code a lot,
I figured it is worth the change. If anybody understands why the CachedProperty
is here so much slower, I am very interested in working on an improvement of
CachedProperty.
Formatting time changes from 0.72 to 0.57 seconds.
llvm-svn: 172900
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions