You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This recognizes the 16 most frequent C keywords inline before falling
back to hashmap lookup. This fast-path covers the majority of keyword
cases in typical C code and reduces lookup overhead.
- "if" keyword (40% of occurrences): 3 operations vs 3-4 hashmap ops
- "return" keyword (21% of occurrences): 3 operations vs 3-4 hashmap ops
- Expected 5-10% overall lexer performance improvement
0 commit comments