Remix.run Logo
fpoling 4 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?

dhosek 23 minutes ago | parent | next [-]

I believe that Rust does this which implies that it might be common to the clang back end.

keynha 14 minutes ago | parent | prev [-]

[flagged]