]> granicus.if.org Git - clang/commit
Revert r124704, which uniqued code-completion strings. The space
authorDouglas Gregor <dgregor@apple.com>
Wed, 2 Feb 2011 19:04:30 +0000 (19:04 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 2 Feb 2011 19:04:30 +0000 (19:04 +0000)
commit6159d0fe2d40708b5a3caab91c8292253894ebf3
treee5ab1e2b0e2ba5d8cf6fa97541d9d74115e70abe
parent8e50a96b387dca7525caa8a6add31420dd82a2cd
Revert r124704, which uniqued code-completion strings. The space
savings of 25% sounds impressive, except that this amounted to only
about 360k in our standard "large" completion result set (40,000
results). Since code completion is performance-sensitive, the 4%
slowdown due to uniquing outweighs the 360k benefit.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124737 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/CodeCompleteConsumer.h
lib/Sema/CodeCompleteConsumer.cpp