Cedric Bail
  • Blog
  • Code Examples

Optimization

Below you will find pages that utilize the taxonomy term “Optimization”

Apr 15, 2026 SPMD

How the Compiler Knows Your Load Is Contiguous

The most important backend optimization in SPMD: recognizing contiguous memory access through ChangeType and BinOp chains

Read More
Apr 15, 2026 SPMD

16 Bytes That Saved a Thousand Branches

The cheapest optimization in our SPMD proof of concept: a WASM linear memory guard zone for safe vector overreads

Read More
Apr 15, 2026 SPMD

Loop Peeling: Where Most of the Speed Comes From

How SSA-level loop peeling enables the all-ones mask fast path that delivers ~2x of SPMD benchmark wins

Read More
© Cedric Bail 2026