Comment by fpoling
5 hours ago
I wonder are there any compilers that recognizes switch-in-loop pattern of interprets and optimizes it to be branch-predictor friendly using multiple indirect jumps?
5 hours ago
I wonder are there any compilers that recognizes switch-in-loop pattern of interprets and optimizes it to be branch-predictor friendly using multiple indirect jumps?
I believe that Rust does this which implies that it might be common to the clang back end.
[flagged]