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 | eca36d1ae23d0e4c46a3c2c2b91a19f4a2f8055d (patch) | |
tree | 25004d470a1f2e3f1296f46493716408cb5defd8 /lib/CodeGen/BackendUtil.cpp | |
parent | e43d3861d969ad583e10ef7e46c5e08e866dfaa5 (diff) |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172900 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions