llvm-project/clang/Lex
Chris Lattner d0a96ba38a Add a simple but useful optimization for identifier lookup. Each time we
query the hash table, when we look up an identifier that isn't at the head
of it's bucket's list, move it there.  This reduces the number of list
traversals in the common case where identifiers are used in bursts.

llvm-svn: 38689
2006-07-10 06:10:51 +00:00
..
IdentifierTable.cpp Add a simple but useful optimization for identifier lookup. Each time we 2006-07-10 06:10:51 +00:00
Lexer.cpp Start reading/validating the argument list for a function-like macro. 2006-07-08 08:28:12 +00:00
MacroExpander.cpp Read, remember, and validate the arguments provided the a function-style 2006-07-09 00:45:31 +00:00
MacroInfo.cpp Add identifiers for macro arguments to MacroInfo, check for duplicates, 2006-07-08 20:32:52 +00:00
Makefile Compile without rtti or exceptions. 2006-07-03 05:01:42 +00:00
PPExpressions.cpp Detect expressions semantically equivalent to !defined(X) for the multiple-include 2006-07-04 18:32:03 +00:00
Pragma.cpp Start reading/validating the argument list for a function-like macro. 2006-07-08 08:28:12 +00:00
Preprocessor.cpp Trivially expand macros like: 2006-07-09 01:00:18 +00:00
ScratchBuffer.cpp Use a new helper to do this much more simply. 2006-06-30 06:14:45 +00:00