Skip to content
Snippets Groups Projects
Commit 8ac43530 authored by Arne Goedeke's avatar Arne Goedeke
Browse files

hashtable.c: do not rechain in lookup

Reordering the bucket list during lookup is very expensive. Removing it
makes cpp() about 10% faster on a file that only contains define and if
defined() statements.
Additionally, the const attribute on the hash table argument is correct now.
parent dd722b24
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment