Jump to content

Main public logs

Combined display of all available logs of JOHNWICK. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
  • 15:33, 14 November 2025 PC talk contribs created page Rust Error : The day I made my Rust code 80× slower by changing one number (Created page with "Summary:
No, Rust doesn’t have a “short array superpower.” What you’re seeing is LLVM’s optimization heuristics kicking in. For arrays below a certain size (here: 239 usizes), LLVM fully unrolls the loop, vectorizes it, and then realizes the inner sum doesn’t change across outer iterations—so it hoists/eliminates the repeated work. At CAPACITY >= 240, the loop is no longer fully unrolled, so LLVM can’t perform the same trick, and your runtime jumps dr...")