news
66
Switch Lowering in GCC
2026-10-31A discussion around GCC’s switch-lowering work highlights frustration that GCC and Clang still lack perfect hashes for large sparse switch tables; one commenter says they implemented this in their rcc C compiler in a day, especially useful for Unicode. Commenters note an LLVM patch was rejected a decade ago and GCC’s Unicode-related patches remain in branches, while also debating jump-table indirection and missed switch simplifications.
Comments
0Discuss on Hacker NewsOnly full members can comment
Log in to express your opinion.
No comments yet.