[clang] [Clang][Lexer][Performance] Optimize Lexer whitespace skipping logic (PR #180819)

Nikolas Klauser via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 11 04:50:09 PST 2026


https://github.com/philnik777 commented:

Would it make more sense to avoid the table lookup maybe? Simply checking for the few possible values can be really efficient: https://godbolt.org/z/Ef8cbKnvr

https://github.com/llvm/llvm-project/pull/180819


More information about the cfe-commits mailing list