]> granicus.if.org Git - clang/commit
Unique code-completion strings. On Cocoa.h, this costs us about 4% in
authorDouglas Gregor <dgregor@apple.com>
Tue, 1 Feb 2011 23:59:42 +0000 (23:59 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 1 Feb 2011 23:59:42 +0000 (23:59 +0000)
commite349d2c61256f11180b7112ab592b4ae700f3dcf
treedf4b87bd98ec095506f73a06801d22eb3f63f6d6
parent40249e7487c3314f185c63302aaad9edde6dfd53
Unique code-completion strings. On Cocoa.h, this costs us about 4% in
speed but saves us about 25% of the memory usage for strings.

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