]> granicus.if.org Git - clang/commit
Implement a simple cache in headersearch. This speeds up
authorChris Lattner <sabre@nondot.org>
Sun, 22 Jul 2007 07:28:00 +0000 (07:28 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 22 Jul 2007 07:28:00 +0000 (07:28 +0000)
commit9960ae8ecfa2c4278dac708a02e463f83fdf17e8
treeb59a9dafa241d32a8713ecd747b6b98b649ee8f8
parentc1fcb7762673be706b0a40477d5e93411e918f93
Implement a simple cache in headersearch.  This speeds up
preprocessing 483.xalancbmk by about 10%, reducing the number
of file lookup queries from 2139411 to 199466 (over 10x)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40390 91177308-0d34-0410-b5e6-96231b3b80d8
Lex/HeaderSearch.cpp
include/clang/Lex/HeaderSearch.h